Methods and graphical user interfaces for editing on a multifunction device with a touch screen display

ABSTRACT

In some embodiments, a device displays content on a touch screen display and detects input by finger gestures. In response to the finger gestures, the device selects content, visually distinguishes the selected content, and/or updates the selected content based on detected input. In some embodiments, the device displays a command display area that includes one or more command icons; detects activation of a command icon in the command display area; and, in response to detecting activation of the command icon in the command display area, performs a corresponding action with respect to the selected content. Exemplary actions include cutting, copying, and pasting content.

RELATED APPLICATIONS

This application claims priority to U.S. Provisional Patent Application No. 61/160,698, “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Mar. 16, 2009, which is incorporated by reference herein in its entirety.

This application is related to the following applications: (1) U.S. patent application Ser. No. 12/565,750 “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Sep. 24, 2009; (2) U.S. patent application Ser. No. 12/565,751 “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Sep. 24, 2009; (3) U.S. patent application Ser. No. 12/565,752 “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Sep. 24, 2009; (4) U.S. patent application Ser. No. 12/565,753 “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Sep. 24, 2009; (5) U.S. patent application Ser. No. 12/565,754 “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Sep. 24, 2009; (6) U.S. patent application Ser. No. 12/565,755 “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Sep. 24, 2009; (7) U.S. patent application Ser. No. 12/565,756 “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Sep. 24, 2009; (8) U.S. patent application Ser. No. 12/565,757 “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Sep. 24, 2009; and (9) U.S. patent application Ser. No. 12/565,759 “Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display,” filed Sep. 24, 2009, which are incorporated by reference herein in their entirety.

TECHNICAL FIELD

The disclosed embodiments relate generally to multifunction devices with touch screen displays, and more particularly, to conducting edits (e.g., cutting, copying, or pasting user-selected content) on such devices.

BACKGROUND

As electronic devices become more compact, and the number of functions performed by a given device increase, it has become a significant challenge to design a user interface that allows users to easily interact with a multifunction device. This challenge is particular significant for handheld portable devices, which have much smaller screens than desktop or laptop computers. This situation is unfortunate because the user interface is the gateway through which users receive not only content but also responses to user actions or behaviors, including user attempts to access a device's features, tools, and functions. Some portable communication devices (e.g., mobile telephones, sometimes called mobile phones, cell phones, cellular telephones, and the like) have resorted to adding more pushbuttons, increasing the density of push buttons, overloading the functions of pushbuttons, or using complex menu systems to allow a user to access, store and manipulate data. These conventional user interfaces often result in complicated key sequences and menu hierarchies that must be memorized by the user.

Many conventional user interfaces, such as those that include physical pushbuttons, are also inflexible. This is unfortunate because it may prevent a user interface from being configured and/or adapted by either an application running on the portable device or by users. When coupled with the time consuming requirement to memorize multiple key sequences and menu hierarchies, and the difficulty in activating a desired pushbutton, such inflexibility is frustrating to most users.

Conventional user interfaces on multifunction devices with touch screen displays do not provide a simple and intuitive way to edit text and graphics. Editing functions such as cut, copy, and paste (if they even exist) are often difficult to find and use, thereby creating a significant cognitive burden on a user. In addition, conventional editing methods take longer than necessary, thereby wasting energy. This latter consideration is particularly important in battery-operated devices.

Accordingly, there is a need for multifunction devices with touch screen displays with faster, more efficient methods and interfaces for editing content. Such methods and interfaces reduce the cognitive burden on a user and produce a more efficient human-machine interface. For battery-operated multifunction devices, such methods and interfaces conserve power and increase the time between battery charges.

SUMMARY

The above deficiencies and other problems associated with user interfaces for multifunction devices with touch screen displays are reduced or eliminated by the disclosed devices. In some embodiments, the device is a desktop computer with a touch screen display. In some embodiments, the device is portable (e.g., a notebook computer or handheld device). In some embodiments, the device has a touch-sensitive display (also known as a “touch screen” or “touch screen display”). In some embodiments, the device has a graphical user interface (GUI), one or more processors, memory and one or more modules, programs or sets of instructions stored in the memory for performing multiple functions. In some embodiments, the user interacts with the GUI primarily through finger contacts and gestures on the touch screen display. In some embodiments, the functions may include image editing, drawing, presenting, word processing, website creating, disk authoring, spreadsheet making, game playing, telephoning, video conferencing, e-mailing, instant messaging, workout support, digital photographing, digital videoing, web browsing, digital music playing, and/or digital video playing. Executable instructions for performing these functions may be included in a computer readable storage medium or other computer program product configured for execution by one or more processors.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying editable content on the touch screen display at a first magnification; detecting a finger gesture on the editable content; in response to detecting the finger gesture on the editable content: expanding a portion of the editable content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the editable content at the first magnification; and displaying a content magnifier that displays the expanded portion of the editable content and an insertion marker at a first location within the expanded portion of the editable content; detecting movement of a finger contact across the touch screen display; moving the content magnifier and changing the expanded portion of the editable content in accordance with the detected movement of the finger contact; moving the insertion marker from the first location to a second location within the expanded portion of the editable content in accordance with the detected movement of the finger contact; detecting lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the editable content; and, in response to detecting lift off of the finger contact: ceasing to display the content magnifier and the expanded portion of the editable content; displaying the insertion marker at a current location in the editable content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the editable content; and displaying a first command display area adjacent to the insertion marker, wherein the first command display area includes an icon for selecting content associated with the current location of the insertion marker.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes: editable content at a first magnification, a content magnifier, an insertion marker, and a command display area; wherein: in response to detecting a finger gesture on the editable content: a portion of the editable content on the touch screen display is expanded to a second magnification that is greater than the first magnification while continuing to display at least some of the editable content at the first magnification; and the content magnifier is displayed, wherein the content magnifier displays the expanded portion of the editable content and the insertion marker at a first location within the expanded portion of the editable content; the content magnifier is moved and the expanded portion of the editable content is changed in accordance with detected movement of a finger contact across the touch screen display; the insertion marker is moved from the first location to a second location within the expanded portion of the editable content in accordance with the detected movement of the finger contact; and, in response to detecting lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the editable content: display of the content magnifier and the expanded portion of the editable content are ceased; the insertion marker is displayed at a current location in the editable content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the editable content; and the command display area is displayed adjacent to the insertion marker, wherein the command display area includes an icon for selecting content associated with the current location of the insertion marker.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying editable content on the touch screen display at a first magnification; detecting a finger gesture on the editable content; in response to detecting the finger gesture on the editable content: expanding a portion of the editable content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the editable content at the first magnification; and displaying a content magnifier that displays the expanded portion of the editable content and an insertion marker at a first location within the expanded portion of the editable content; detecting movement of a finger contact across the touch screen display; moving the content magnifier and changing the expanded portion of the editable content in accordance with the detected movement of the finger contact; moving the insertion marker from the first location to a second location within the expanded portion of the editable content in accordance with the detected movement of the finger contact; detecting lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the editable content; and, in response to detecting lift off of the finger contact: ceasing to display the content magnifier and the expanded portion of the editable content; displaying the insertion marker at a current location in the editable content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the editable content; and displaying a first command display area adjacent to the insertion marker, wherein the first command display area includes an icon for selecting content associated with the current location of the insertion marker.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display editable content on the touch screen display at a first magnification; detect a finger gesture on the editable content; in response to detecting the finger gesture on the editable content: expand a portion of the editable content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the editable content at the first magnification; and display a content magnifier that displays the expanded portion of the editable content and an insertion marker at a first location within the expanded portion of the editable content; detect movement of a finger contact across the touch screen display; move the content magnifier and changing the expanded portion of the editable content in accordance with the detected movement of the finger contact; move the insertion marker from the first location to a second location within the expanded portion of the editable content in accordance with the detected movement of the finger contact; detect lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the editable content; and, in response to detecting lift off of the finger contact: cease to display the content magnifier and the expanded portion of the editable content; display the insertion marker at a current location in the editable content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the editable content; and display a first command display area adjacent to the insertion marker, wherein the first command display area includes an icon for selecting content associated with the current location of the insertion marker.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying editable content on the touch screen display at a first magnification; means for detecting a finger gesture on the editable content; in response to detecting the finger gesture on the editable content: means for expanding a portion of the editable content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the editable content at the first magnification; and means for displaying a content magnifier that displays the expanded portion of the editable content and an insertion marker at a first location within the expanded portion of the editable content; means for detecting movement of a finger contact across the touch screen display; means for moving the content magnifier and changing the expanded portion of the editable content in accordance with the detected movement of the finger contact; means for moving the insertion marker from the first location to a second location within the expanded portion of the editable content in accordance with the detected movement of the finger contact; means for detecting lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the editable content; and, in response to detecting lift off of the finger contact: means for ceasing to display the content magnifier and the expanded portion of the editable content; means for displaying the insertion marker at a current location in the editable content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the editable content; and means for displaying a first command display area adjacent to the insertion marker, wherein the first command display area includes an icon for selecting content associated with the current location of the insertion marker.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying read-only content on the touch screen display at a first magnification; detecting a finger gesture on the read-only content; in response to detecting the finger gesture on the read-only content: expanding a portion of the read-only content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the read-only content at the first magnification; and displaying a content magnifier that displays the expanded portion of the read-only content and a position marker at a first location within the expanded portion of the read-only content; detecting movement of a finger contact across the touch screen display; moving the content magnifier and changing the expanded portion of the read-only content in accordance with the detected movement of the finger contact; moving the position marker from the first location to a second location within the expanded portion of the read-only content in accordance with the detected movement of the finger contact; detecting lift off of the finger contact while the position marker is located at the second location within the expanded portion of the read-only content; and, in response to detecting lift off of the finger contact: ceasing to display the content magnifier, the expanded portion of the read-only content, and the position marker; and displaying a first command display area adjacent to a current location in the read-only content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the read-only content, wherein the first command display area includes an icon for selecting content associated with the current location.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes: read-only content at a first magnification, a content magnifier, an position marker, and a command display area; wherein: in response to detecting a finger gesture on the read-only content: a portion of the read-only content on the touch screen display is expanded to a second magnification that is greater than the first magnification while continuing to display at least some of the read-only content at the first magnification; and the content magnifier is displayed, wherein the content magnifier displays the expanded portion of the read-only content and a position marker at a first location within the expanded portion of the read-only content; the content magnifier is moved and the expanded portion of the read-only content is changed in accordance with detected movement of a finger contact; the position marker is moved from the first location to a second location within the expanded portion of the read-only content in accordance with the detected movement of the finger contact; and, in response to detecting lift off of the finger contact while the position marker is located at the second location within the expanded portion of the read-only content: display of the content magnifier, the expanded portion of the read-only content, and the position marker are ceased; and the command display area is displayed adjacent to a current location in the read-only content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the read-only content, wherein the command display area includes an icon for selecting content associated with the current location.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying read-only content on the touch screen display at a first magnification; detecting a finger gesture on the read-only content; in response to detecting the finger gesture on the read-only content: expanding a portion of the read-only content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the read-only content at the first magnification; and displaying a content magnifier that displays the expanded portion of the read-only content and a position marker at a first location within the expanded portion of the read-only content; detecting movement of a finger contact across the touch screen display; moving the content magnifier and changing the expanded portion of the read-only content in accordance with the detected movement of the finger contact; moving the position marker from the first location to a second location within the expanded portion of the read-only content in accordance with the detected movement of the finger contact; detecting lift off of the finger contact while the position marker is located at the second location within the expanded portion of the read-only content; and, in response to detecting lift off of the finger contact: ceasing to display the content magnifier, the expanded portion of the read-only content, and the position marker; and displaying a first command display area adjacent to a current location in the read-only content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the read-only content, wherein the first command display area includes an icon for selecting content associated with the current location.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display read-only content on the touch screen display at a first magnification; detect a finger gesture on the read-only content; in response to detecting the finger gesture on the read-only content: expand a portion of the read-only content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the read-only content at the first magnification; and display a content magnifier that displays the expanded portion of the read-only content and a position marker at a first location within the expanded portion of the read-only content; detect movement of a finger contact across the touch screen display; move the content magnifier and changing the expanded portion of the read-only content in accordance with the detected movement of the finger contact; move the position marker from the first location to a second location within the expanded portion of the read-only content in accordance with the detected movement of the finger contact; detect lift off of the finger contact while the position marker is located at the second location within the expanded portion of the read-only content; and, in response to detecting lift off of the finger contact: cease to display the content magnifier, the expanded portion of the read-only content, and the position marker; and display a first command display area adjacent to a current location in the read-only content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the read-only content, wherein the first command display area includes an icon for selecting content associated with the current location.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying read-only content on the touch screen display at a first magnification; means for detecting a finger gesture on the read-only content; in response to detecting the finger gesture on the read-only content: means for expanding a portion of the read-only content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the read-only content at the first magnification; and means for displaying a content magnifier that displays the expanded portion of the read-only content and a position marker at a first location within the expanded portion of the read-only content; means for detecting movement of a finger contact across the touch screen display; means for moving the content magnifier and changing the expanded portion of the read-only content in accordance with the detected movement of the finger contact; means for moving the position marker from the first location to a second location within the expanded portion of the read-only content in accordance with the detected movement of the finger contact; means for detecting lift off of the finger contact while the position marker is located at the second location within the expanded portion of the read-only content; and, in response to detecting lift off of the finger contact: means for ceasing to display the content magnifier, the expanded portion of the read-only content, and the position marker; and means for displaying a first command display area adjacent to a current location in the read-only content at the first magnification, wherein the current location corresponds to the second location within the expanded portion of the read-only content, wherein the first command display area includes an icon for selecting content associated with the current location.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying content on the touch screen display at a first magnification; detecting a finger gesture on the content; in response to detecting the finger gesture on the content: expanding a portion of the content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the content at the first magnification; and displaying a content magnifier that displays the expanded portion of the content and an insertion marker at a first location within the expanded portion of the content; detecting movement of a finger contact across the touch screen display; moving the content magnifier and changing the expanded portion of the content in accordance with the detected movement of the finger contact; moving the insertion marker from the first location to a second location within the expanded portion of the content in accordance with the detected movement of the finger contact; detecting lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the content; and, in response to detecting lift off of the finger contact: ceasing to display the content magnifier, the expanded portion of the content, and the insertion marker; and selecting content associated with the second location of the insertion marker.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes: content at a first magnification, a content magnifier, an insertion marker, and a command display area; wherein: in response to detecting a finger gesture on the content: a portion of the content on the touch screen display is expanded to a second magnification that is greater than the first magnification while continuing to display at least some of the content at the first magnification; and the content magnifier is displayed, wherein the content magnifier displays the expanded portion of the content and the insertion marker at a first location within the expanded portion of the content; the content magnifier is moved and the expanded portion of the content is changed in accordance with detected movement of a finger contact; the insertion marker is moved from the first location to a second location within the expanded portion of the content in accordance with the detected movement of the finger contact; and, in response to detecting lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the content: display of the content magnifier, the expanded portion of the content, and the insertion marker are ceased; and content associated with the second location of the insertion marker is selected.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying content on the touch screen display at a first magnification; detecting a finger gesture on the content; in response to detecting the finger gesture on the content: expanding a portion of the content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the content at the first magnification; and displaying a content magnifier that displays the expanded portion of the content and an insertion marker at a first location within the expanded portion of the content; detecting movement of a finger contact across the touch screen display; moving the content magnifier and changing the expanded portion of the content in accordance with the detected movement of the finger contact; moving the insertion marker from the first location to a second location within the expanded portion of the content in accordance with the detected movement of the finger contact; detecting lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the content; and, in response to detecting lift off of the finger contact: ceasing to display the content magnifier, the expanded portion of the content, and the insertion marker; and selecting content associated with the second location of the insertion marker.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display content on the touch screen display at a first magnification; detect a finger gesture on the content; in response to detecting the finger gesture on the content: expand a portion of the content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the content at the first magnification; and display a content magnifier that displays the expanded portion of the content and an insertion marker at a first location within the expanded portion of the content; detect movement of a finger contact across the touch screen display; move the content magnifier and changing the expanded portion of the content in accordance with the detected movement of the finger contact; move the insertion marker from the first location to a second location within the expanded portion of the content in accordance with the detected movement of the finger contact; detect lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the content; and, in response to detecting lift off of the finger contact: cease to display the content magnifier, the expanded portion of the content, and the insertion marker; and select content associated with the second location of the insertion marker.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying content on the touch screen display at a first magnification; means for detecting a finger gesture on the content; in response to detecting the finger gesture on the content: means for expanding a portion of the content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the content at the first magnification; and means for displaying a content magnifier that displays the expanded portion of the content and an insertion marker at a first location within the expanded portion of the content; means for detecting movement of a finger contact across the touch screen display; means for moving the content magnifier and changing the expanded portion of the content in accordance with the detected movement of the finger contact; means for moving the insertion marker from the first location to a second location within the expanded portion of the content in accordance with the detected movement of the finger contact; means for detecting lift off of the finger contact while the insertion marker is located at the second location within the expanded portion of the content; and, in response to detecting lift off of the finger contact: means for ceasing to display the content magnifier, the expanded portion of the content, and the insertion marker; and means for selecting content associated with the second location of the insertion marker.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying content on the touch screen display; detecting a double-tap gesture by a single finger on a word in the content; and, in response to detecting the double-tap gesture by the single finger on the word in the content: selecting the word; and displaying a start-point object and an end-point object at respective ends of the word.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes: content, a word in the content, a start-point object; and an end-point object; wherein: in response to detecting a double-tap gesture by a single finger on the word in the content: the word is selected; and the start-point object and the end-point object are displayed at respective ends of the word.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying content on the touch screen display; detecting a double-tap gesture by a single finger on a word in the content; and, in response to detecting the double-tap gesture by the single finger on the word in the content: selecting the word; and displaying a start-point object and an end-point object at respective ends of the word.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display content on the touch screen display; detect a double-tap gesture by a single finger on a word in the content; and, in response to detecting the double-tap gesture by the single finger on the word in the content: select the word; and display a start-point object and an end-point object at respective ends of the word.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying content on the touch screen display; means for detecting a double-tap gesture by a single finger on a word in the content; and, in response to detecting the double-tap gesture by the single finger on the word in the content: means for selecting the word; and means for displaying a start-point object and an end-point object at respective ends of the word.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying content on the touch screen display; detecting one or more fingers on the touch screen display; recognizing a gesture made by the one or more fingers on the touch screen display, wherein the gesture is one gesture in a plurality of predefined gestures operable to select or assist in selecting a portion of the content; and performing an action with respect to the content in response to recognizing the gesture.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying content on the touch screen display; detecting one or more fingers on the touch screen display; recognizing a gesture made by the one or more fingers on the touch screen display, wherein the gesture is one gesture in a plurality of predefined gestures operable to select or assist in selecting a portion of the content; and performing an action with respect to the content in response to recognizing the gesture.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display content on the touch screen display; detect one or more fingers on the touch screen display; recognize a gesture made by the one or more fingers on the touch screen display, wherein the gesture is one gesture in a plurality of predefined gestures operable to select or assist in selecting a portion of the content; and perform an action with respect to the content in response to recognizing the gesture.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying content on the touch screen display; means for detecting one or more fingers on the touch screen display; means for recognizing a gesture made by the one or more fingers on the touch screen display, wherein the gesture is one gesture in a plurality of predefined gestures operable to select or assist in selecting a portion of the content; and means for performing an action with respect to the content in response to recognizing the gesture.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying content on the touch screen display, wherein the displayed content includes selected content; visually distinguishing the selected content from displayed content that is not selected; displaying a command display area adjacent to the selected content on the touch screen display, wherein the command display area includes one or more command icons; detecting activation of a command icon in the command display area; and, in response to detecting activation of the command icon in the command display area, performing a corresponding action with respect to the selected content.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes content, including selected content that is visually distinguished from displayed content that is not selected, and a command display area that includes one or more command icons; wherein: the command display area is displayed adjacent to the selected content on the touch screen display; and, in response to detecting activation of a command icon in the command display area, a corresponding action is performed with respect to the selected content.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying content on the touch screen display, wherein the displayed content includes selected content; visually distinguishing the selected content from displayed content that is not selected; displaying a command display area adjacent to the selected content on the touch screen display, wherein the command display area includes one or more command icons; detecting activation of a command icon in the command display area; and, in response to detecting activation of the command icon in the command display area, performing a corresponding action with respect to the selected content.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display content on the touch screen display, wherein the displayed content includes selected content; visually distinguish the selected content from displayed content that is not selected; display a command display area adjacent to the selected content on the touch screen display, wherein the command display area includes one or more command icons; detect activation of a command icon in the command display area; and, in response to detecting activation of the command icon in the command display area, perform a corresponding action with respect to the selected content.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying content on the touch screen display, wherein the displayed content includes selected content; means for visually distinguishing the selected content from displayed content that is not selected; means for displaying a command display area adjacent to the selected content on the touch screen display, wherein the command display area includes one or more command icons; means for detecting activation of a command icon in the command display area; and, in response to detecting activation of the command icon in the command display area, means for performing a corresponding action with respect to the selected content.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying a user interface element that contains content, wherein the content includes selected content; visually distinguishing the selected content from displayed content that is not selected; displaying a command display area element that includes one or more command icons, wherein: the command display area element is displayed in front of other elements in the user interface, including the user interface element displaying content; and activation of a command icon initiates performance of a corresponding action with respect to the selected content; and displaying one or more predefined priority elements in front of which the command display area element cannot be displayed.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes a user interface element that contains content, wherein the content includes selected content, a command display area element that includes one or more command icons, and one or more predefined priority elements in front of which the command display area element cannot be displayed; wherein: the selected content is visually distinguished from displayed content that is not selected; the command display area element is displayed in front of other elements in the user interface, including the user interface element displaying content; and activation of a command icon initiates performance of a corresponding action with respect to the selected content.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying a user interface element that contains content, wherein the content includes selected content; visually distinguishing the selected content from displayed content that is not selected; displaying a command display area element that includes one or more command icons, wherein: the command display area element is displayed in front of other elements in the user interface, including the user interface element displaying content; and activation of a command icon initiates performance of a corresponding action with respect to the selected content; and displaying one or more predefined priority elements in front of which the command display area element cannot be displayed.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display a user interface element that contains content, wherein the content includes selected content; visually distinguish the selected content from displayed content that is not selected; display a command display area element that includes one or more command icons, wherein: the command display area element is displayed in front of other elements in the user interface, including the user interface element displaying content; and activation of a command icon initiates performance of a corresponding action with respect to the selected content; and display one or more predefined priority elements in front of which the command display area element cannot be displayed.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying a user interface element that contains content, wherein the content includes selected content; means for visually distinguishing the selected content from displayed content that is not selected; means for displaying a command display area element that includes one or more command icons, wherein: the command display area element is displayed in front of other elements in the user interface, including the user interface element displaying content; and activation of a command icon initiates performance of a corresponding action with respect to the selected content; and means for displaying one or more predefined priority elements in front of which the command display area element cannot be displayed.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying content on the touch screen display at a first magnification, wherein the content includes selected content; detecting a finger contact on a respective end of the selected content; displaying a content magnifier adjacent to the respective end of the selected content, wherein the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected content; detecting movement of the finger contact across the touch screen display; updating the respective end of the selected content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact; and moving the content magnifier and the boundary marker in accordance with the movement of the finger contact.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes content at a first magnification, the content including selected content, and a content magnifier; wherein: a finger contact is detected on a respective end of the selected content; the content magnifier is displayed adjacent to the respective end of the selected content; the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected content; the respective end of the selected content and the displayed expanded portion of the content proximate to the respective end at the second magnification are updated in accordance with movement of the finger contact across the touch screen display; and the content magnifier and the boundary marker are moved in accordance with the movement of the finger contact.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying content on the touch screen display at a first magnification, wherein the content includes selected content; detecting a finger contact on a respective end of the selected content; displaying a content magnifier adjacent to the respective end of the selected content, wherein the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected content; detecting movement of the finger contact across the touch screen display; updating the respective end of the selected content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact; and moving the content magnifier and the boundary marker in accordance with the movement of the finger contact.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display content on the touch screen display at a first magnification, wherein the content includes selected content; detect a finger contact on a respective end of the selected content; display a content magnifier adjacent to the respective end of the selected content, wherein the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected content; detect movement of the finger contact across the touch screen display; update the respective end of the selected content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact; and move the content magnifier and the boundary marker in accordance with the movement of the finger contact.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying content on the touch screen display at a first magnification, wherein the content includes selected content; means for detecting a finger contact on a respective end of the selected content; means for displaying a content magnifier adjacent to the respective end of the selected content, wherein the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected content; means for detecting movement of the finger contact across the touch screen display; means for updating the respective end of the selected content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact; and means for moving the content magnifier and the boundary marker in accordance with the movement of the finger contact.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; detecting a finger gesture on a first box of content in the plurality of boxes of content; in response to detecting the finger gesture on the first box of content in the plurality of boxes of content: selecting the first box of content; and visually distinguishing the selected first box of content from content on the touch screen display that is not selected; detecting a finger contact on the selected first box of content; detecting movement of the finger contact to a location outside the selected first box of content; detecting lift off of the finger contact at the location outside the selected first box of content; and selecting one or more additional boxes of content in the plurality of boxes of content in accordance with the location of the finger contact outside the first box of content.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes at least a portion of a structured electronic document, the structured electronic document including a plurality of boxes of content; wherein: in response to detecting a finger gesture on a first box of content in the plurality of boxes of content: the first box of content is selected; and the selected first box of content is visually distinguished from content on the touch screen display that is not selected; a finger contact is detected on the selected first box of content; movement of the finger contact to a location outside the selected first box of content is detected; lift off of the finger contact at the location outside the selected first box of content is detected; and one or more additional boxes of content in the plurality of boxes of content are selected in accordance with the location of the finger contact outside the first box of content.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; detecting a finger gesture on a first box of content in the plurality of boxes of content; in response to detecting the finger gesture on the first box of content in the plurality of boxes of content: selecting the first box of content; and visually distinguishing the selected first box of content from content on the touch screen display that is not selected; detecting a finger contact on the selected first box of content; detecting movement of the finger contact to a location outside the selected first box of content; detecting lift off of the finger contact at the location outside the selected first box of content; and selecting one or more additional boxes of content in the plurality of boxes of content in accordance with the location of the finger contact outside the first box of content.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; detect a finger gesture on a first box of content in the plurality of boxes of content; in response to detecting the finger gesture on the first box of content in the plurality of boxes of content: select the first box of content; and visually distinguish the selected first box of content from content on the touch screen display that is not selected; detect a finger contact on the selected first box of content; detect movement of the finger contact to a location outside the selected first box of content; detect lift off of the finger contact at the location outside the selected first box of content; and select one or more additional boxes of content in the plurality of boxes of content in accordance with the location of the finger contact outside the first box of content.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; means for detecting a finger gesture on a first box of content in the plurality of boxes of content; in response to detecting the finger gesture on the first box of content in the plurality of boxes of content: means for selecting the first box of content; and means for visually distinguishing the selected first box of content from content on the touch screen display that is not selected; means for detecting a finger contact on the selected first box of content; means for detecting movement of the finger contact to a location outside the selected first box of content; means for detecting lift off of the finger contact at the location outside the selected first box of content; and means for selecting one or more additional boxes of content in the plurality of boxes of content in accordance with the location of the finger contact outside the first box of content.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying at least a portion of a structured electronic document on the touch screen display at a first magnification, wherein the structured electronic document comprises a plurality of boxes of content; detecting a first finger gesture on a first box of content in the plurality of boxes of content; in response to detecting the first finger gesture on the first box of content in the plurality of boxes of content: selecting the first box of content; and visually distinguishing the selected first box of content from content on the touch screen display that is not selected; detecting a finger contact on a respective end of the selected first box of content; displaying a content magnifier adjacent to the respective end of the selected first box of content, wherein the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected first box of content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected first box of content; detecting movement of the finger contact across the touch screen display within the selected first box of content; updating the respective end of the selected first box of content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact; and moving the content magnifier and the boundary marker in accordance with the movement of the finger contact.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes at least a portion of a structured electronic document at a first magnification, the structured electronic document comprising a plurality of boxes of content, and a content magnifier; wherein: in response to detecting a first finger gesture on a first box of content in the plurality of boxes of content: the first box of content is selected; and the selected first box of content is visually distinguished from content on the touch screen display that is not selected; a finger contact is detected on a respective end of the selected first box of content; the content magnifier is displayed adjacent to the respective end of the selected first box of content; the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected first box of content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected first box of content; movement of the finger contact across the touch screen display within the selected first box of content is detected; the respective end of the selected first box of content and the displayed expanded portion of the content proximate to the respective end at the second magnification are updated in accordance with the movement of the finger contact; and the content magnifier and the boundary marker are moved in accordance with the movement of the finger contact.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying at least a portion of a structured electronic document on the touch screen display at a first magnification, wherein the structured electronic document comprises a plurality of boxes of content; detecting a first finger gesture on a first box of content in the plurality of boxes of content; in response to detecting the first finger gesture on the first box of content in the plurality of boxes of content: selecting the first box of content; and visually distinguishing the selected first box of content from content on the touch screen display that is not selected; detecting a finger contact on a respective end of the selected first box of content; displaying a content magnifier adjacent to the respective end of the selected first box of content, wherein the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected first box of content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected first box of content; detecting movement of the finger contact across the touch screen display within the selected first box of content; updating the respective end of the selected first box of content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact; and moving the content magnifier and the boundary marker in accordance with the movement of the finger contact.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display at least a portion of a structured electronic document on the touch screen display at a first magnification, wherein the structured electronic document comprises a plurality of boxes of content; detect a first finger gesture on a first box of content in the plurality of boxes of content; in response to detecting the first finger gesture on the first box of content in the plurality of boxes of content: select the first box of content; and visually distinguish the selected first box of content from content on the touch screen display that is not selected; detect a finger contact on a respective end of the selected first box of content; display a content magnifier adjacent to the respective end of the selected first box of content, wherein the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected first box of content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected first box of content; detect movement of the finger contact across the touch screen display within the selected first box of content; update the respective end of the selected first box of content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact; and move the content magnifier and the boundary marker in accordance with the movement of the finger contact.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying at least a portion of a structured electronic document on the touch screen display at a first magnification, wherein the structured electronic document comprises a plurality of boxes of content; means for detecting a first finger gesture on a first box of content in the plurality of boxes of content; in response to detecting the first finger gesture on the first box of content in the plurality of boxes of content: means for selecting the first box of content; and means for visually distinguishing the selected first box of content from content on the touch screen display that is not selected; means for detecting a finger contact on a respective end of the selected first box of content; means for displaying a content magnifier adjacent to the respective end of the selected first box of content, wherein the content magnifier displays: an expanded portion of the content proximate to the respective end of the selected first box of content at a second magnification that is greater than the first magnification, and a boundary marker that denotes a current position of the respective end of the selected first box of content; means for detecting movement of the finger contact across the touch screen display within the selected first box of content; means for updating the respective end of the selected first box of content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact; and means for moving the content magnifier and the boundary marker in accordance with the movement of the finger contact.

In accordance with some embodiments, a computer-implemented method is performed at a multifunction device with a touch screen display. The computer-implemented method includes: displaying at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; determining whether the structured electronic document meets one or more predefined document complexity criteria; selecting one or more entire boxes of content in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria; and selecting a gesture-specified portion of at least one box of content when the structured electronic document does not meet at least one predefined document complexity criteria.

In accordance with some embodiments, a graphical user interface on a multifunction device with a touch screen display, a memory, and one or more processors to execute one or more programs stored in the memory includes at least a portion of a structured electronic document, the structured electronic document comprising a plurality of boxes of content; wherein: whether the structured electronic document meets one or more predefined document complexity criteria is determined; one or more entire boxes of content are selected in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria; and a gesture-specified portion of at least one box of content is selected when the structured electronic document does not meet at least one predefined document complexity criteria.

In accordance with some embodiments, a multifunction device includes a touch screen display, one or more processors, memory, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; determining whether the structured electronic document meets one or more predefined document complexity criteria; selecting one or more entire boxes of content in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria; and selecting a gesture-specified portion of at least one box of content when the structured electronic document does not meet at least one predefined document complexity criteria.

In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by a multifunction device with a touch screen display, cause the device to: display at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; determine whether the structured electronic document meets one or more predefined document complexity criteria; select one or more entire boxes of content in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria; and select a gesture-specified portion of at least one box of content when the structured electronic document does not meet at least one predefined document complexity criteria.

In accordance with some embodiments, a multifunction device includes: a touch screen display; means for displaying at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; means for determining whether the structured electronic document meets one or more predefined document complexity criteria; means for selecting one or more entire boxes of content in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria; and means for selecting a gesture-specified portion of at least one box of content when the structured electronic document does not meet at least one predefined document complexity criteria.

Thus, multifunction devices with touch screen displays are provided with faster, more efficient methods and interfaces for editing content, thereby increasing the effectiveness, efficiency, and user satisfaction with such devices.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the aforementioned embodiments of the invention as well as additional embodiments thereof, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.

FIGS. 1A and 1B are block diagrams illustrating portable multifunction devices with touch-sensitive displays in accordance with some embodiments.

FIG. 2 illustrates a portable multifunction device having a touch screen in accordance with some embodiments.

FIG. 3 is a block diagram of an exemplary multifunction device in accordance with some embodiments.

FIGS. 4A and 4B illustrate exemplary user interfaces for a menu of applications on a portable multifunction device in accordance with some embodiments.

FIGS. 5A-5QQ illustrate exemplary user interfaces for selecting content on a multifunction device with a touch screen display in accordance with some embodiments.

FIGS. 6A-6UU illustrate exemplary user interfaces for a command display area for selected content in accordance with some embodiments.

FIGS. 7A-7E illustrate exemplary user interfaces for using a content magnifier to select a respective end of selected content in accordance with some embodiments.

FIGS. 8A-8U illustrate exemplary user interfaces for selecting content in structured electronic documents in accordance with some embodiments.

FIGS. 9A-9D are flow diagrams illustrating a method of selecting editable content in accordance with some embodiments.

FIGS. 10A-10D are flow diagrams illustrating a method of selecting read-only content in accordance with some embodiments.

FIGS. 11A-11C are flow diagrams illustrating a method of selecting content in accordance with some embodiments.

FIG. 12 is a flow diagram illustrating a method of selecting a word with a double-tap gesture by a single finger in accordance with some embodiments.

FIGS. 13A-13G are flow diagrams illustrating a method of selecting content with finger gestures in accordance with some embodiments.

FIGS. 14A-14D are flow diagrams illustrating a method of using a command display area for selected content in accordance with some embodiments.

FIGS. 15A-15C are flow diagrams illustrating a method of positioning a command display area in accordance with some embodiments.

FIGS. 16A-16E are flow diagrams illustrating a method of updating a respective end of selected content with a content magnifier in accordance with some embodiments.

FIGS. 17A-17B are flow diagrams illustrating a method of selecting content in structured electronic documents in accordance with some embodiments.

FIG. 18 is a flow diagram illustrating a method of selecting content in structured electronic documents in accordance with some embodiments.

FIG. 19 is a flow diagram illustrating a method of selecting content in structured electronic documents based on document complexity criteria in accordance with some embodiments.

DESCRIPTION OF EMBODIMENTS

Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.

It will also be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first contact could be termed a second contact, and, similarly, a second contact could be termed a first contact, without departing from the scope of the present invention. The first contact and the second contact are both contacts, but they are not the same contact.

The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the description of the invention and the appended claims, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

As used herein, the term “if” may be construed to mean “when” or “upon” or “in response to determining” or “in response to detecting,” depending on the context. Similarly, the phrase “if it is determined” or “if [a stated condition or event] is detected” may be construed to mean “upon determining” or “in response to determining” or “upon detecting [the stated condition or event]” or “in response to detecting [the stated condition or event],” depending on the context.

Embodiments of computing devices, user interfaces for such devices, and associated processes for using such devices are described. In some embodiments, the computing device is a portable communications device such as a mobile telephone that also contains other functions, such as PDA and/or music player functions. Exemplary embodiments of portable multifunction devices include, without limitation, the iPhone® and iPod Touch® devices from Apple Computer, Inc. of Cupertino, Calif.

In the discussion that follows, a computing device that includes a display and a touch-sensitive surface is described. It should be understood, however, that the computing device may include one or more other physical user-interface devices, such as a physical keyboard, a mouse and/or a joystick.

The device supports a variety of applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disk authoring application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an e-mail application, an instant messaging application, a workout support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and/or a digital video player application.

The various applications that may be executed on the device may use at least one common physical user-interface device, such as the touch-sensitive surface. One or more functions of the touch-sensitive surface as well as corresponding information displayed on the device may be adjusted and/or varied from one application to the next and/or within a respective application. In this way, a common physical architecture (such as the touch-sensitive surface) of the device may support the variety of applications with user interfaces that are intuitive and transparent.

The user interfaces may include one or more soft keyboard embodiments. The soft keyboard embodiments may include standard (QWERTY) and/or non-standard configurations of symbols on the displayed icons of the keyboard, such as those described in U.S. patent application Ser. No. 11/459,606, “Keyboards For Portable Electronic Devices,” filed Jul. 24, 2006, and Ser. No. 11/459,615, “Touch Screen Keyboards For Portable Electronic Devices,” filed Jul. 24, 2006, the contents of which are hereby incorporated by reference in their entirety. The keyboard embodiments may include a reduced number of icons (or soft keys) relative to the number of keys in existing physical keyboards, such as that for a typewriter. This may make it easier for users to select one or more icons in the keyboard, and thus, one or more corresponding symbols. The keyboard embodiments may be adaptive. For example, displayed icons may be modified in accordance with user actions, such as selecting one or more icons and/or one or more corresponding symbols. One or more applications on the device may utilize common and/or different keyboard embodiments. Thus, the keyboard embodiment used may be tailored to at least some of the applications. In some embodiments, one or more keyboard embodiments may be tailored to a respective user. For example, one or more keyboard embodiments may be tailored to a respective user based on a word usage history (lexicography, slang, individual usage) of the respective user. Some of the keyboard embodiments may be adjusted to reduce a probability of a user error when selecting one or more icons, and thus one or more symbols, when using the soft keyboard embodiments.

Attention is now directed towards embodiments of portable devices with touch-sensitive displays. FIGS. 1A and 1B are block diagrams illustrating portable multifunction devices 100 with touch-sensitive displays 112 in accordance with some embodiments. The touch-sensitive display 112 is sometimes called a “touch screen” for convenience, and may also be known as or called a touch-sensitive display system. The device 100 may include a memory 102 (which may include one or more computer readable storage mediums), a memory controller 122, one or more processing units (CPU's) 120, a peripherals interface 118, RF circuitry 108, audio circuitry 110, a speaker 111, a microphone 113, an input/output (I/O) subsystem 106, other input or control devices 116, and an external port 124. The device 100 may include one or more optical sensors 164. These components may communicate over one or more communication buses or signal lines 103.

It should be appreciated that the device 100 is only one example of a portable multifunction device 100, and that the device 100 may have more or fewer components than shown, may combine two or more components, or a may have a different configuration or arrangement of the components. The various components shown in FIGS. 1A and 1B may be implemented in hardware, software, or a combination of both hardware and software, including one or more signal processing and/or application specific integrated circuits.

Memory 102 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Access to memory 102 by other components of the device 100, such as the CPU 120 and the peripherals interface 118, may be controlled by the memory controller 122.

The peripherals interface 118 couples the input and output peripherals of the device to the CPU 120 and memory 102. The one or more processors 120 run or execute various software programs and/or sets of instructions stored in memory 102 to perform various functions for the device 100 and to process data.

In some embodiments, the peripherals interface 118, the CPU 120, and the memory controller 122 may be implemented on a single chip, such as a chip 104. In some other embodiments, they may be implemented on separate chips.

The RF (radio frequency) circuitry 108 receives and sends RF signals, also called electromagnetic signals. The RF circuitry 108 converts electrical signals to/from electromagnetic signals and communicates with communications networks and other communications devices via the electromagnetic signals. The RF circuitry 108 may include well-known circuitry for performing these functions, including but not limited to an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chipset, a subscriber identity module (SIM) card, memory, and so forth. The RF circuitry 108 may communicate with networks, such as the Internet, also referred to as the World Wide Web (WWW), an intranet and/or a wireless network, such as a cellular telephone network, a wireless local area network (LAN) and/or a metropolitan area network (MAN), and other devices by wireless communication. The wireless communication may use any of a plurality of communications standards, protocols and technologies, including but not limited to Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), high-speed downlink packet access (HSDPA), wideband code division multiple access (W-CDMA), code division multiple access (CDMA), time division multiple access (TDMA), Bluetooth, Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11n), voice over Internet Protocol (VoIP), Wi-MAX, a protocol for email (e.g., Internet message access protocol (IMAP) and/or post office protocol (POP)), instant messaging (e.g., extensible messaging and presence protocol (XMPP), Session Initiation Protocol for Instant Messaging and Presence Leveraging Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS)), and/or Short Message Service (SMS)), or any other suitable communication protocol, including communication protocols not yet developed as of the filing date of this document.

The audio circuitry 110, the speaker 111, and the microphone 113 provide an audio interface between a user and the device 100. The audio circuitry 110 receives audio data from the peripherals interface 118, converts the audio data to an electrical signal, and transmits the electrical signal to the speaker 111. The speaker 111 converts the electrical signal to human-audible sound waves. The audio circuitry 110 also receives electrical signals converted by the microphone 113 from sound waves. The audio circuitry 110 converts the electrical signal to audio data and transmits the audio data to the peripherals interface 118 for processing. Audio data may be retrieved from and/or transmitted to memory 102 and/or the RF circuitry 108 by the peripherals interface 118. In some embodiments, the audio circuitry 110 also includes a headset jack (e.g. 212, FIG. 2). The headset jack provides an interface between the audio circuitry 110 and removable audio input/output peripherals, such as output-only headphones or a headset with both output (e.g., a headphone for one or both ears) and input (e.g., a microphone).

The I/O subsystem 106 couples input/output peripherals on the device 100, such as the touch screen 112 and other input/control devices 116, to the peripherals interface 118. The I/O subsystem 106 may include a display controller 156 and one or more input controllers 160 for other input or control devices. The one or more input controllers 160 receive/send electrical signals from/to other input or control devices 116. The other input/control devices 116 may include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slider switches, joysticks, click wheels, and so forth. In some alternate embodiments, input controller(s) 160 may be coupled to any (or none) of the following: a keyboard, infrared port, USB port, and a pointer device such as a mouse. The one or more buttons (e.g., 208, FIG. 2) may include an up/down button for volume control of the speaker 111 and/or the microphone 113. The one or more buttons may include a push button (e.g., 206, FIG. 2). A quick press of the push button may disengage a lock of the touch screen 112 or begin a process that uses gestures on the touch screen to unlock the device, as described in U.S. patent application Ser. No. 11/322,549, “Unlocking a Device by Performing Gestures on an Unlock Image,” filed Dec. 23, 2005, which is hereby incorporated by reference in its entirety. A longer press of the push button (e.g., 206) may turn power to the device 100 on or off. The user may be able to customize a functionality of one or more of the buttons. The touch screen 112 is used to implement virtual or soft buttons and one or more soft keyboards.

The touch-sensitive touch screen 112 provides an input interface and an output interface between the device and a user. The display controller 156 receives and/or sends electrical signals from/to the touch screen 112. The touch screen 112 displays visual output to the user. The visual output may include graphics, text, icons, video, and any combination thereof (collectively termed “graphics”). In some embodiments, some or all of the visual output may correspond to user-interface objects.

A touch screen 112 has a touch-sensitive surface, sensor or set of sensors that accepts input from the user based on haptic and/or tactile contact. The touch screen 112 and the display controller 156 (along with any associated modules and/or sets of instructions in memory 102) detect contact (and any movement or breaking of the contact) on the touch screen 112 and converts the detected contact into interaction with user-interface objects (e.g., one or more soft keys, icons, web pages or images) that are displayed on the touch screen. In an exemplary embodiment, a point of contact between a touch screen 112 and the user corresponds to a finger of the user.

The touch screen 112 may use LCD (liquid crystal display) technology, or LPD (light emitting polymer display) technology, although other display technologies may be used in other embodiments. The touch screen 112 and the display controller 156 may detect contact and any movement or breaking thereof using any of a plurality of touch sensing technologies now known or later developed, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with a touch screen 112. In an exemplary embodiment, projected mutual capacitance sensing technology is used, such as that found in the iPhone® and iPod Touch® from Apple Computer, Inc. of Cupertino, Calif.

A touch-sensitive display in some embodiments of the touch screen 112 may be analogous to the multi-touch sensitive tablets described in the following U.S. Pat. No. 6,323,846 (Westerman et al.), U.S. Pat. No. 6,570,557 (Westerman et al.), and/or U.S. Pat. No. 6,677,932 (Westerman), and/or U.S. Patent Publication 2002/0015024A1, each of which is hereby incorporated by reference in its entirety. However, a touch screen 112 displays visual output from the portable device 100, whereas touch sensitive tablets do not provide visual output.

A touch-sensitive display in some embodiments of the touch screen 112 may be as described in the following applications: (1) U.S. patent application Ser. No. 11/381,313, “Multipoint Touch Surface Controller,” filed May 2, 2006; (2) U.S. patent application Ser. No. 10/840,862, “Multipoint Touchscreen,” filed May 6, 2004; (3) U.S. patent application Ser. No. 10/903,964, “Gestures For Touch Sensitive Input Devices,” filed Jul. 30, 2004; (4) U.S. patent application Ser. No. 11/048,264, “Gestures For Touch Sensitive Input Devices,” filed Jan. 31, 2005; (5) U.S. patent application Ser. No. 11/038,590, “Mode-Based Graphical User Interfaces For Touch Sensitive Input Devices,” filed Jan. 18, 2005; (6) U.S. patent application Ser. No. 11/228,758, “Virtual Input Device Placement On A Touch Screen User Interface,” filed Sep. 16, 2005; (7) U.S. patent application Ser. No. 11/228,700, “Operation Of A Computer With A Touch Screen Interface,” filed Sep. 16, 2005; (8) U.S. patent application Ser. No. 11/228,737, “Activating Virtual Keys Of A Touch-Screen Virtual Keyboard,” filed Sep. 16, 2005; and (9) U.S. patent application Ser. No. 11/367,749, “Multi-Functional Hand-Held Device,” filed Mar. 3, 2006. All of these applications are incorporated by reference herein in their entirety.

The touch screen 112 may have a resolution in excess of 100 dpi. In an exemplary embodiment, the touch screen has a resolution of approximately 160 dpi. The user may make contact with the touch screen 112 using any suitable object or appendage, such as a stylus, a finger, and so forth. In some embodiments, the user interface is designed to work primarily with finger-based contacts and gestures, which are much less precise than stylus-based input due to the larger area of contact of a finger on the touch screen. In some embodiments, the device translates the rough finger-based input into a precise pointer/cursor position or command for performing the actions desired by the user.

In some embodiments, in addition to the touch screen, the device 100 may include a touchpad (not shown) for activating or deactivating particular functions. In some embodiments, the touchpad is a touch-sensitive area of the device that, unlike the touch screen, does not display visual output. The touchpad may be a touch-sensitive surface that is separate from the touch screen 112 or an extension of the touch-sensitive surface formed by the touch screen.

In some embodiments, the device 100 may include a physical or virtual click wheel as an input control device 116. A user may navigate among and interact with one or more graphical objects (e.g., icons) displayed in the touch screen 112 by rotating the click wheel or by moving a point of contact with the click wheel (e.g., where the amount of movement of the point of contact is measured by its angular displacement with respect to a center point of the click wheel). The click wheel may also be used to select one or more of the displayed icons. For example, the user may press down on at least a portion of the click wheel or an associated button. User commands and navigation commands provided by the user via the click wheel may be processed by an input controller 160 as well as one or more of the modules and/or sets of instructions in memory 102. For a virtual click wheel, the click wheel and click wheel controller may be part of the touch screen 112 and the display controller 156, respectively. For a virtual click wheel, the click wheel may be either an opaque or semitransparent object that appears and disappears on the touch screen display in response to user interaction with the device. In some embodiments, a virtual click wheel is displayed on the touch screen of a portable multifunction device and operated by user contact with the touch screen.

The device 100 also includes a power system 162 for powering the various components. The power system 162 may include a power management system, one or more power sources (e.g., battery, alternating current (AC)), a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light-emitting diode (LED)) and any other components associated with the generation, management and distribution of power in portable devices.

The device 100 may also include one or more optical sensors 164. FIGS. 1A and 1B show an optical sensor coupled to an optical sensor controller 158 in I/O subsystem 106. The optical sensor 164 may include charge-coupled device (CCD) or complementary metal-oxide semiconductor (CMOS) phototransistors. The optical sensor 164 receives light from the environment, projected through one or more lens, and converts the light to data representing an image. In conjunction with an imaging module 143 (also called a camera module), the optical sensor 164 may capture still images or video. In some embodiments, an optical sensor is located on the back of the device 100, opposite the touch screen display 112 on the front of the device, so that the touch screen display may be used as a viewfinder for still and/or video image acquisition. In some embodiments, an optical sensor is located on the front of the device so that the user's image may be obtained for videoconferencing while the user views the other video conference participants on the touch screen display. In some embodiments, the position of the optical sensor 164 can be changed by the user (e.g., by rotating the lens and the sensor in the device housing) so that a single optical sensor 164 may be used along with the touch screen display for both video conferencing and still and/or video image acquisition.

The device 100 may also include one or more proximity sensors 166. FIGS. 1A and 1B show a proximity sensor 166 coupled to the peripherals interface 118. Alternately, the proximity sensor 166 may be coupled to an input controller 160 in the I/O subsystem 106. The proximity sensor 166 may perform as described in U.S. patent application Ser. No. 11/241,839, “Proximity Detector In Handheld Device”; Ser. No. 11/240,788, “Proximity Detector In Handheld Device”; 11/620,702, “Using Ambient Light Sensor To Augment Proximity Sensor Output”; Ser. No. 11/586,862, “Automated Response To And Sensing Of User Activity In Portable Devices”; and Ser. No. 11/638,251, “Methods And Systems For Automatic Configuration Of Peripherals,” which are hereby incorporated by reference in their entirety. In some embodiments, the proximity sensor turns off and disables the touch screen 112 when the multifunction device is placed near the user's ear (e.g., when the user is making a phone call). In some embodiments, the proximity sensor keeps the screen off when the device is in the user's pocket, purse, or other dark area to prevent unnecessary battery drainage when the device is a locked state.

The device 100 may also include one or more accelerometers 168. FIGS. 1A and 1B show an accelerometer 168 coupled to the peripherals interface 118. Alternately, the accelerometer 168 may be coupled to an input controller 160 in the I/O subsystem 106. The accelerometer 168 may perform as described in U.S. Patent Publication No. 20050190059, “Acceleration-based Theft Detection System for Portable Electronic Devices,” and U.S. Patent Publication No. 20060017692, “Methods And Apparatuses For Operating A Portable Device Based On An Accelerometer,” both of which are which are incorporated by reference herein in their entirety. In some embodiments, information is displayed on the touch screen display in a portrait view or a landscape view based on an analysis of data received from the one or more accelerometers.

In some embodiments, the software components stored in memory 102 may include an operating system 126, a communication module (or set of instructions) 128, a contact/motion module (or set of instructions) 130, a graphics module (or set of instructions) 132, an edit module (or set of instructions) 133, a text input module (or set of instructions) 134, a Global Positioning System (GPS) module (or set of instructions) 135, and applications (or set of instructions) 136.

The operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and/or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.) and facilitates communication between various hardware and software components.

The communication module 128 facilitates communication with other devices over one or more external ports 124 and also includes various software components for handling data received by the RF circuitry 108 and/or the external port 124. The external port 124 (e.g., Universal Serial Bus (USB), FIREWIRE, etc.) is adapted for coupling directly to other devices or indirectly over a network (e.g., the Internet, wireless LAN, etc.). In some embodiments, the external port is a multi-pin (e.g., 30-pin) connector that is the same as, or similar to and/or compatible with the 30-pin connector used on iPod (trademark of Apple Computer, Inc.) devices.

The contact/motion module 130 may detect contact with the touch screen 112 (in conjunction with the display controller 156) and other touch sensitive devices (e.g., a touchpad or physical click wheel). The contact/motion module 130 includes various software components for performing various operations related to detection of contact, such as determining if contact has occurred (e.g., detecting a finger-down event), determining if there is movement of the contact and tracking the movement across the touch-sensitive surface (e.g., detecting one or more finger-dragging events), and determining if the contact has ceased (e.g., detecting a finger-up event or a break in contact). The contact/motion module 130 receives contact data from the touch-sensitive surface. Determining movement of the point of contact, which is represented by a series of contact data, may include determining speed (magnitude), velocity (magnitude and direction), and/or an acceleration (a change in magnitude and/or direction) of the point of contact. These operations may be applied to single contacts (e.g., one finger contacts) or to multiple simultaneous contacts (e.g., “multitouch”/multiple finger contacts). In some embodiments, the contact/motion module 130 and the display controller 156 detects contact on a touchpad. In some embodiments, the contact/motion module 130 and the controller 160 detects contact on a click wheel.

The contact/motion module 130 may detect a gesture input by a user. Different gestures on the touch-sensitive surface have different contact patterns. Thus, a gesture may be detected by detecting a particular contact pattern. For example, detecting a finger tap gesture comprises detecting a finger-down event followed by detecting a finger-up event at the same position (or substantially the same position) as the finger-down event (e.g., at the position of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface comprises detecting a finger-down event followed by detecting one or more finger-dragging events, and subsequently followed by detecting a finger-up event.

The graphics module 132 includes various known software components for rendering and displaying graphics on the touch screen 112 or other display, including components for changing the intensity of graphics that are displayed. As used herein, the term “graphics” includes any object that can be displayed to a user, including without limitation text, web pages, icons (such as user-interface objects including soft keys), digital images, videos, animations and the like.

In some embodiments, the graphics module 132 stores data representing graphics to be used. Each graphic may be assigned a corresponding code. The graphics module 132 receives, from applications etc., one or more codes specifying graphics to be displayed along with, if necessary, coordinate data and other graphic property data, and then generates screen image data to output to display controller 156.

The edit module 133, which may be a component of text input module 134, provides for cut, copy, paste, and other functions related to user-selected content in various applications (e.g., contacts 137, e-mail 140, IM 141, browser 147, calendar 148, search module 151, and any other application that needs to select and edit content).

The text input module 134, which may be a component of graphics module 132, provides soft keyboards for entering text in various applications (e.g., contacts 137, e-mail 140, IM 141, browser 147, and any other application that needs text input).

The GPS module 135 determines the location of the device and provides this information for use in various applications (e.g., to telephone 138 for use in location-based dialing, to camera 143 as picture/video metadata, and to applications that provide location-based services such as weather widgets, local yellow page widgets, and map/navigation widgets).

The applications 136 may include the following modules (or sets of instructions), or a subset or superset thereof:

-   -   a contacts module 137 (sometimes called an address book or         contact list);     -   a telephone module 138;     -   a video conferencing module 139;     -   an e-mail client module 140;     -   an instant messaging (IM) module 141;     -   a workout support module 142;     -   a camera module 143 for still and/or video images;     -   an image management module 144;     -   a video player module 145;     -   a music player module 146;     -   a browser module 147;     -   a calendar module 148;     -   widget modules 149, which may include weather widget 149-1,         stocks widget 149-2, calculator widget 149-3, alarm clock widget         149-4, dictionary widget 149-5, and other widgets obtained by         the user, as well as user-created widgets 149-6;     -   widget creator module 150 for making user-created widgets 149-6;     -   search module 151;     -   video and music player module 152, which merges video player         module 145 and music player module 146;     -   notes module 153;     -   map module 154; and/or     -   online video module 155.

Examples of other applications 136 that may be stored in memory 102 include other word processing applications, other image editing applications, drawing applications, presentation applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice replication.

In conjunction with touch screen 112, display controller 156, contact module 130, graphics module 132, edit module 133, and text input module 134, the contacts module 137 may be used to manage an address book or contact list, including: adding name(s) to the address book; deleting name(s) from the address book; associating telephone number(s), e-mail address(es), physical address(es) or other information with a name; associating an image with a name; categorizing and sorting names; providing telephone numbers or e-mail addresses to initiate and/or facilitate communications by telephone 138, video conference 139, e-mail 140, or IM 141; and so forth.

In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, contact module 130, graphics module 132, edit module 133, and text input module 134, the telephone module 138 may be used to enter a sequence of characters corresponding to a telephone number, access one or more telephone numbers in the address book 137, modify a telephone number that has been entered, dial a respective telephone number, conduct a conversation and disconnect or hang up when the conversation is completed. As noted above, the wireless communication may use any of a plurality of communications standards, protocols and technologies.

In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, optical sensor 164, optical sensor controller 158, contact module 130, graphics module 132, edit module 133, text input module 134, contact list 137, and telephone module 138, the videoconferencing module 139 may be used to initiate, conduct, and terminate a video conference between a user and one or more other participants.

In conjunction with RF circuitry 108, touch screen 112, display controller 156, contact module 130, graphics module 132, edit module 133, and text input module 134, the e-mail client module 140 may be used to create, send, receive, and manage e-mail. In conjunction with image management module 144, the e-mail module 140 makes it very easy to create and send e-mails with still or video images taken with camera module 143.

In conjunction with RF circuitry 108, touch screen 112, display controller 156, contact module 130, graphics module 132, edit module 133, and text input module 134, the instant messaging module 141 may be used to enter a sequence of characters corresponding to an instant message, to modify previously entered characters, to transmit a respective instant message (for example, using a Short Message Service (SMS) or Multimedia Message Service (MMS) protocol for telephony-based instant messages or using XMPP, SIMPLE, or IMPS for Internet-based instant messages), to receive instant messages and to view received instant messages. In some embodiments, transmitted and/or received instant messages may include graphics, photos, audio files, video files and/or other attachments as are supported in a MMS and/or an Enhanced Messaging Service (EMS). As used herein, “instant messaging” refers to both telephony-based messages (e.g., messages sent using SMS or MMS) and Internet-based messages (e.g., messages sent using XMPP, SIMPLE, or IMPS).

In conjunction with RF circuitry 108, touch screen 112, display controller 156, contact module 130, graphics module 132, edit module 133, text input module 134, GPS module 135, map module 154, and music player module 146, the workout support module 142 may be used to create workouts (e.g., with time, distance, and/or calorie burning goals); communicate with workout sensors (sports devices); receive workout sensor data; calibrate sensors used to monitor a workout; select and play music for a workout; and display, store and transmit workout data.

In conjunction with touch screen 112, display controller 156, optical sensor(s) 164, optical sensor controller 158, contact module 130, graphics module 132, and image management module 144, the camera module 143 may be used to capture still images or video (including a video stream) and store them into memory 102, modify characteristics of a still image or video, or delete a still image or video from memory 102.

In conjunction with touch screen 112, display controller 156, contact module 130, graphics module 132, edit module 133, text input module 134, and camera module 143, the image management module 144 may be used to arrange, modify (e.g., edit), or otherwise manipulate, label, delete, present (e.g., in a digital slide show or album), and store still and/or video images.

In conjunction with touch screen 112, display controller 156, contact module 130, graphics module 132, audio circuitry 110, and speaker 111, the video player module 145 may be used to display, present or otherwise play back videos (e.g., on the touch screen or on an external, connected display via external port 124).

In conjunction with touch screen 112, display system controller 156, contact module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, and browser module 147, the music player module 146 allows the user to download and play back recorded music and other sound files stored in one or more file formats, such as MP3 or AAC files. In some embodiments, the device 100 may include the functionality of an MP3 player, such as an iPod (trademark of Apple Computer, Inc.).

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, edit module 133, and text input module 134, the browser module 147 may be used to browse the Internet, including searching, linking to, receiving, and displaying web pages or portions thereof, as well as attachments and other files linked to web pages.

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, edit module 133, text input module 134, e-mail module 140, and browser module 147, the calendar module 148 may be used to create, display, modify, and store calendars and data associated with calendars (e.g., calendar entries, to do lists, etc.).

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, edit module 133, text input module 134, and browser module 147, the widget modules 149 are mini-applications that may be downloaded and used by a user (e.g., weather widget 149-1, stocks widget 149-2, calculator widget 149-3, alarm clock widget 149-4, and dictionary widget 149-5) or created by the user (e.g., user-created widget 149-6). In some embodiments, a widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript file. In some embodiments, a widget includes an XML (Extensible Markup Language) file and a JavaScript file (e.g., Yahoo! Widgets).

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, edit module 133, text input module 134, and browser module 147, the widget creator module 150 may be used by a user to create widgets (e.g., turning a user-specified portion of a web page into a widget).

In conjunction with touch screen 112, display system controller 156, contact module 130, graphics module 132, edit module 133, and text input module 134, the search module 151 may be used to search for text, music, sound, image, video, and/or other files in memory 102 that match one or more search criteria (e.g., one or more user-specified search terms).

In conjunction with touch screen 112, display controller 156, contact module 130, graphics module 132, edit module 133, and text input module 134, the notes module 153 may be used to create and manage notes, to do lists, and the like.

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, edit module 133, text input module 134, GPS module 135, and browser module 147, the map module 154 may be used to receive, display, modify, and store maps and data associated with maps (e.g., driving directions; data on stores and other points of interest at or near a particular location; and other location-based data).

In conjunction with touch screen 112, display system controller 156, contact module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, edit module 133, text input module 134, e-mail client module 140, and browser module 147, the online video module 155 allows the user to access, browse, receive (e.g., by streaming and/or download), play back (e.g., on the touch screen or on an external, connected display via external port 124), send an e-mail with a link to a particular online video, and otherwise manage online videos in one or more file formats, such as H.264. In some embodiments, instant messaging module 141, rather than e-mail client module 140, is used to send a link to a particular online video. Additional description of the online video application can be found in U.S. Provisional Patent Application No. 60/936,562, “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” filed Jun. 20, 2007, and U.S. patent application Ser. No. 11/968,067, “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” filed Dec. 31, 2007, the content of which is hereby incorporated by reference in its entirety.

Each of the above identified modules and applications correspond to a set of executable instructions for performing one or more functions described above and the methods described in this application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various embodiments. For example, video player module 145 may be combined with music player module 146 into a single module (e.g., video and music player module 152, FIG. 1B). In some embodiments, memory 102 may store a subset of the modules and data structures identified above. Furthermore, memory 102 may store additional modules and data structures not described above.

In some embodiments, the device 100 is a device where operation of a predefined set of functions on the device is performed exclusively through a touch screen 112 and/or a touchpad. By using a touch screen and/or a touchpad as the primary input/control device for operation of the device 100, the number of physical input/control devices (such as push buttons, dials, and the like) on the device 100 may be reduced.

The predefined set of functions that may be performed exclusively through a touch screen and/or a touchpad include navigation between user interfaces. In some embodiments, the touchpad, when touched by the user, navigates the device 100 to a main, home, or root menu from any user interface that may be displayed on the device 100. In such embodiments, the touchpad may be referred to as a “menu button.” In some other embodiments, the menu button may be a physical push button or other physical input/control device instead of a touchpad.

FIG. 2 illustrates a portable multifunction device 100 having a touch screen 112 in accordance with some embodiments. The touch screen may display one or more graphics within user interface (UI) 200. In this embodiment, as well as others described below, a user may select one or more of the graphics by making contact or touching the graphics, for example, with one or more fingers 202 (not drawn to scale in the figure). In some embodiments, selection of one or more graphics occurs when the user breaks contact with the one or more graphics. In some embodiments, the contact may include a gesture, such as one or more taps, one or more swipes (from left to right, right to left, upward and/or downward) and/or a rolling of a finger (from right to left, left to right, upward and/or downward) that has made contact with the device 100. In some embodiments, inadvertent contact with a graphic may not select the graphic. For example, a swipe gesture that sweeps over an application icon may not select the corresponding application when the gesture corresponding to selection is a tap.

The device 100 may also include one or more physical buttons, such as “home” or menu button 204. As described previously, the menu button 204 may be used to navigate to any application 136 in a set of applications that may be executed on the device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI in touch screen 112.

In one embodiment, the device 100 includes a touch screen 112, a menu button 204, a push button 206 for powering the device on/off and locking the device, volume adjustment button(s) 208, a Subscriber Identity Module (SIM) card slot 210, a head set jack 212, and a docking/charging external port 124. The push button 206 may be used to turn the power on/off on the device by depressing the button and holding the button in the depressed state for a predefined time interval; to lock the device by depressing the button and releasing the button before the predefined time interval has elapsed; and/or to unlock the device or initiate an unlock process. In an alternative embodiment, the device 100 also may accept verbal input for activation or deactivation of some functions through the microphone 113.

FIG. 3 is a block diagram of an exemplary multifunction device in accordance with some embodiments. Device 300 need not be portable. In some embodiments, the device 300 is a laptop computer, a desktop computer, a table computer, a multimedia player device, a navigation device, an educational device (such as a child's learning toy), a gaming system, or a control device (e.g., a home or industrial controller). The device 300 typically includes one or more processing units (CPU's) 310, one or more network or other communications interfaces 360, memory 370, and one or more communication buses 320 for interconnecting these components. The communication buses 320 may include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. The device 300 includes an input/output (I/O) interface 330 comprising a display 340, which in some embodiments is a touch screen display 112. The I/O interface 330 also may include a keyboard and/or mouse (or other pointing device) 350 and a touchpad 355. Memory 370 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices; and may include non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. Memory 370 may optionally include one or more storage devices remotely located from the CPU(s) 310. In some embodiments, memory 370 stores programs, modules, and data structures analogous to the programs, modules, and data structures stored in the memory 102 of portable multifunction device 100 (FIG. 1), or a subset thereof. Furthermore, memory 370 may store additional programs, modules, and data structures not present in the memory 102 of portable multifunction device 100. For example, memory 370 of device 300 may store drawing module 380, presentation module 382, word processing module 384, website creation module 386, disk authoring module 388, and/or spreadsheet module 390, while memory 102 of portable multifunction device 100 (FIG. 1) may not store these modules.

Each of the above identified elements in FIG. 3 may be stored in one or more of the previously mentioned memory devices. Each of the above identified modules corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various embodiments. In some embodiments, memory 370 may store a subset of the modules and data structures identified above. Furthermore, memory 370 may store additional modules and data structures not described above.

Attention is now directed towards embodiments of user interfaces (“UI”) that may be implemented on a portable multifunction device 100.

FIGS. 4A and 4B illustrate exemplary user interfaces for a menu of applications on a portable multifunction device 100 in accordance with some embodiments. Similar user interfaces may be implemented on device 300. In some embodiments, user interface 400A includes the following elements, or a subset or superset thereof:

-   -   Signal strength indicator(s) 402 for wireless communication(s),         such as cellular and Wi-Fi signals;     -   Time 404;     -   Bluetooth indicator 405;     -   Battery status indicator 406;     -   Tray 408 with icons for frequently used applications, such as:         -   Phone 138, which may include an indicator 414 of the number             of missed calls or voicemail messages;         -   E-mail client 140, which may include an indicator 410 of the             number of unread e-mails;         -   Browser 147;         -   Music player 146; and     -   Icons for other applications, such as:         -   IM 141;         -   Image management 144;         -   Camera 143;         -   Video player 145;         -   Weather 149-1;         -   Stocks 149-2;         -   Workout support 142;         -   Calendar 148;         -   Calculator 149-3;         -   Alarm clock 149-4;         -   Dictionary 149-5; and         -   User-created widget 149-6.

In some embodiments, user interface 400B includes the following elements, or a subset or superset thereof:

-   -   402, 404, 405, 406, 141, 148, 144, 143, 149-3, 149-2, 149-1,         149-4, 410, 414, 138, 140, and 147, as described above;     -   Map 154;     -   Notes 153;     -   Settings 412, which provides access to settings for the device         100 and its various applications 136, as described further         below;     -   Video and music player module 152, also referred to as iPod         (trademark of Apple Computer, Inc.) module 152; and     -   Online video module 155, also referred to as YouTube (trademark         of Google, Inc.) module 155.

Attention is now directed towards embodiments of user interfaces (“UI”) and associated processes that may be implemented on a multifunction device with a touch screen display, such as device 300 or portable multifunction device 100.

FIGS. 5A-5QQ illustrate exemplary user interfaces for selecting content on a multifunction device with a touch screen display in accordance with some embodiments. The user interfaces in these figures are used to illustrate the processes described below with respect to FIGS. 9A-9D, 10A-10D, 11A-11C, 12, and 13A-13G.

FIGS. 5A-5D illustrate using a content magnifier 508 to position in insertion marker 510 in editable content. The content magnifier moves in accordance with the movement of a finger contact 514.

FIGS. 5D-5K illustrate selecting editable content associated with the current location of the insertion marker in response to detecting a finger gesture on a “select” command icon 518. In some embodiments, a word is selected if the insertion marker is within the word (e.g., the word “nation” in FIGS. 5H-5I), adjacent to the first letter of the word (e.g., the word “Four” in FIGS. 5D-5E), or adjacent to the last letter of the word (e.g., the word “forth” in FIGS. 5F-5G). In some embodiments, the closest word and any punctuation and/or spaces are selected if the insertion marker is currently located after a sentence and not within a word or adjacent to the first or last letter of a word (e.g., “equal.” in FIGS. 5J-5K).

FIGS. 5D and 5L illustrate selecting all of the editable content in response to detecting a finger gesture on a “select all” command icon.

FIGS. 5M-5O illustrate using a content magnifier 508 to position a position marker 546 in read-only content 538. The content magnifier 508 moves in accordance with the movement of a finger contact 550.

FIGS. 5P-5Q illustrate selecting read-only content in response to detecting a finger gesture on a “select” command icon. In some embodiments, the selections are analogous to the selections in editable content, but the insertion marker 510 is not displayed in the unmagnified content.

FIGS. 5P, 5R, and 5S illustrate selecting all of the read-only content 538 in response to detecting a finger gesture on a “Select All” command icon 520.

FIGS. 5T and 5U illustrate selecting a word with a double-tap, single finger gesture on a word.

FIGS. 5V-5Z illustrate gestures to select a word, line of text, sentence, or paragraph.

FIGS. 5AA-5CC illustrate a tap-and-a-half gesture by a single finger.

FIGS. 5DD-5KK illustrate two-finger gestures for selecting content and increasing the selected content.

FIGS. 5LL-5NN illustrate a margin-initiated selection gesture by a single finger. FIGS. 5OO-5QQ illustrate a swipe-initiated selection gesture by a single finger.

FIGS. 6A-6UU illustrate exemplary user interfaces for a command display area for selected content in accordance with some embodiments. The user interfaces in these figures are used to illustrate the processes described below with respect to FIGS. 14A-14D and 15A-15C.

FIGS. 6A-6B illustrate cutting selected content. FIGS. 6C-6J illustrate pasting previously cut or copied content.

FIG. 6K illustrates a command display area with an icon for displaying additional command options.

FIGS. 6L-6P illustrate methods for undoing an action.

FIGS. 6Q-6R illustrate providing information about a physical location in selected content.

FIGS. 6S-6V illustrate interfaces for performing actions based on a phone number in the selected content.

FIGS. 6W-6X illustrate initiating an email based on an email address in the selected content.

FIGS. 6Y-6Z illustrate initiating web browsing based on a web address in the selected content.

FIGS. 6AA-6BB illustrate initiating a search using information in selected content.

FIGS. 6CC-6OO illustrate actions that cause the command display area to disappear and/or reappear.

FIGS. 6PP-6UU illustrate changes in the placement of the display command area relative to the selected content.

FIGS. 7A-7E illustrate exemplary user interfaces for using a content magnifier to select a respective end of selected content in accordance with some embodiments. The user interfaces in these figures are used to illustrate the processes described below with respect to FIGS. 16A-16E.

FIGS. 8A-8U illustrate exemplary user interfaces for selecting content in structured electronic documents in accordance with some embodiments. The user interfaces in these figures are used to illustrate the processes described below with respect to FIGS. 17A-17B, 18, and 19.

FIGS. 8A and 8B illustrate enlarging and centering a box of content prior to content selection. FIGS. 8B-8E illustrate selecting a first box of content, enlarging the selection to two boxes with a finger gesture, and copying the two boxes.

FIGS. 8F-8K illustrate selecting a first box of content and enlarging the selected boxes of content with finger gestures.

FIGS. 8L-8M illustrate copying a box of content and pasting the box into a note (FIG. 8M) and into an email (FIG. 8N-8O).

FIGS. 8P-8U illustrate selecting content within a single box of content on a web page (FIGS. 8P-8T) and in an HTML email message (FIG. 8U).

FIGS. 9A-9D are flow diagrams illustrating a method of selecting editable content in accordance with some embodiments. The method 900 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 900 may be combined and/or the order of some operations may be changed.

As described below, the method 900 provides an intuitive way to select editable content at a multifunction device with a touch screen display. The method reduces the cognitive burden on a user when selecting content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to perform content selection faster and more efficiently conserves power and increases the time between battery charges.

The device displays (902) editable content 502 on the touch screen display at a first magnification (FIG. 5A). In some embodiments, the editable content 502 comprises (904) text (e.g., plain text, unstructured text, or formatted text).

The device detects (906) a finger gesture 504 on the editable content 502 (FIG. 5A). In some embodiments, the finger gesture on the editable content is a press and hold gesture (908).

In response to detecting the finger gesture 504 on the editable content 502, the device: expands a portion 506 (FIG. 5B) of the editable content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the editable content 502 at the first magnification and displays a content magnifier (910) (e.g., as shown in FIG. 5B). The content magnifier 508 displays the expanded portion 506 of the editable content and an insertion marker 510 at a first location within the expanded portion of the editable content (e.g., at the end of the word “equal” in FIG. 5B).

In some embodiments, the expanded portion 506 of the editable content displayed in the content magnifier includes (912) portions of at least three horizontal lines of text displayed concurrently (e.g., analogous to that shown in FIG. 5O).

In some embodiments, the content magnifier 508 has a predefined shape (e.g., a circle in FIG. 5B) (914).

In some embodiments, the insertion marker 510 is a cursor, insertion bar, or insertion point (916).

The device detects (918) movement (e.g., 512, FIG. 5B) of a finger contact 514 across the touch screen display. In some embodiments, the finger contact 514 is part of the finger gesture (e.g., when the finger gesture 504 (FIG. 5A) is a “press and hold” gesture) (920).

The device moves the content magnifier 508 and changes the expanded portion 506 of the editable content in accordance with the detected movement 512 of the finger contact 514 (922) (e.g., as shown in FIGS. 5B and 5C).

The device moves (924) the insertion marker 510 from the first location to a second location within the expanded portion of the editable content in accordance with the detected movement of the finger contact (e.g., from the end of the word “equal” in FIG. 5B to the beginning of the word “Four” in FIG. 5C).

The device detects (926) lift off of the finger contact 514 while the insertion marker 510 is located at the second location within the expanded portion 506 of the editable content (e.g., at the beginning of the word “Four” in FIG. 5C).

In response to detecting lift off of the finger contact, the device: ceases to display the content magnifier 508 and the expanded portion 506 of the editable content; displays the insertion marker 510 at a current location in the editable content at the first magnification (e.g., at the beginning of the word “Four” in FIG. 5D), wherein the current location corresponds to the second location within the expanded portion of the editable content; and displays a first command display area 516 adjacent to the insertion marker (928) (e.g., as shown in FIG. 5D). The first command display area 516 includes an icon for selecting content associated with the current location of the insertion marker 510 (e.g., “Select” icon 518, FIG. 5D).

In some embodiments, in response to detecting lift off of the finger contact 514, the device displays (930) an animation of the expanded portion 506 of the editable content shrinking into the insertion marker 510 at the current location in the editable content at the first magnification.

In some embodiments, the first command display area 516 includes (932) an icon for selecting all of the editable content (e.g., “Select All” icon 520, FIG. 5D).

In some embodiments, the first command display area 516 includes (934) an icon for displaying additional command options (not shown, but analogous to the “ . . . ” icon 602 in FIG. 6K).

In some embodiments, the first command display area 516 includes (936) an icon for undoing a previous action (not shown, but analogous to the “Undo” icon 604, FIG. 6N).

In some embodiments, the first command display area 516 includes (938) an icon for redoing a previous action (not shown, but analogous to the “Redo” icon 605, FIG. 6N).

In some embodiments, icons in the first command display area 516 include (940) at least one command that is user configurable.

In some embodiments, icons in the first command display area 516 include (942) at least one command that is context sensitive.

In some embodiments, the editable content 502 is displayed within a first application, and icons in the first command display area 516 include (944) at least one command to invoke a second application coupled to the first application via a predefined application programming interface.

In some embodiments, the device detects (946) a finger gesture on the icon for selecting content associated with the current location of the insertion marker (e.g., a tap gesture 522 on “Select” icon 518, FIG. 5D). In response to detecting the finger gesture on the icon for selecting content associated with the current location of the insertion marker, the device ceases to display the first command display area 516 and selects content associated with the current location of the insertion marker. In some embodiments, a word is selected if the insertion marker is within the word (e.g., the word “nation” in FIGS. 5H-5I), adjacent to the first letter of the word (e.g., the word “Four” in FIGS. 5D-5E), or adjacent to the last letter of the word (e.g., the word “forth” in FIGS. 5F-5G). In some embodiments, the closest word and any punctuation and/or spaces are selected if the insertion marker 510 is currently located after a sentence and not within a word or adjacent to the first or last letter of a word (e.g., “equal.” in FIGS. 5J-5K).

In some embodiments, in response to detecting the finger gesture on the icon for selecting content associated with the current location of the insertion marker, the device displays (948) a start-point object 526 (FIG. 5E) and an end-point object 528 at respective ends of the selected content 524. For example, in response to detecting the tap gesture 522 on “Select” icon 518 (FIG. 5D), the device displays a start-point object 526 and an end-point object 528 at respective ends of the selected word “Four” (FIG. 5E).

In some embodiments, in response to detecting the finger gesture on the icon for selecting content associated with the current location of the insertion marker, the device displays (950) a second command display area adjacent to the selected content (e.g., second command display area 530 is adjacent to the selected word “Four” in FIG. 5E). The second command display area 530 includes an icon for cutting the selected content and an icon for copying the selected content (e.g., “Cut” icon 532 and “Copy” icon 534, FIG. 5E).

In some embodiments, the second command display area 530 includes (952) an icon for pasting previously cut or copied content (e.g., “Paste” icon 536, FIG. 5E).

In some embodiments, the second command display area includes (954) an icon for undoing a previous action (e.g., “Undo” icon 604, FIG. 6N).

In some embodiments, the second command display area includes (956) an icon for displaying additional command options (e.g., “ . . . ” icon 602, FIG. 6K).

In some embodiments, the second command display area includes (958) an icon redoing a previous action (e.g., “Redo” icon 605, FIG. 6N).

In some embodiments, icons in the second command display area include (960) at least one command that is user configurable.

In some embodiments, icons in the second command display area include (962) at least one command that is context sensitive.

In some embodiments, the editable content is displayed within a first application, and icons in the second command display area include (964) at least one command to invoke a second application coupled to the first application via a predefined application programming interface.

The second command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

FIGS. 10A-10D are flow diagrams illustrating a method of selecting read-only content in accordance with some embodiments. The method 1000 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 1000 may be combined and/or the order of some operations may be changed.

As described below, the method 1000 provides an intuitive way to select read-only content at a multifunction device with a touch screen display. The method reduces the cognitive burden on a user when selecting content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to perform content selection faster and more efficiently conserves power and increases the time between battery charges.

The device displays (1002) read-only content 538 on the touch screen display at a first magnification (FIG. 5M). In some embodiments, the read-only content 538 comprises (1004) text (e.g., plain text, unstructured text, formatted, or text in a web page).

The device detects (1006) a finger gesture 540 on the read-only content (FIG. 5M). In some embodiments, the finger gesture on the read-only content is a press and hold gesture (1008).

In response to detecting the finger gesture 540 on the read-only content 538, the device: expands a portion 544 of the read-only content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the read-only content 538 at the first magnification and displays a content magnifier (1010) (e.g., as shown in FIG. 5N). The content magnifier 508 displays the expanded portion 544 of the read-only content and a position marker 546 at a first location within the expanded portion of the read-only content (e.g., in the middle of the word “earth” in FIG. 5N).

In some embodiments, the expanded portion 544 of the read-only content displayed in the content magnifier includes (1012) portions of at least three horizontal lines of text displayed concurrently (e.g., as shown in FIG. 5O).

In some embodiments, the content magnifier 508 has a predefined shape (e.g., a circle in FIG. 5N) (1014).

For read-only content, the insertion marker 510 becomes a position marker 546 that is used in processes that select existing read-only content (e.g., for copying), but not for processes that modify the existing (read-only) content.

The device detects (1016) movement (e.g., 548, FIG. 5N) of a finger contact 550 across the touch screen display. In some embodiments, the finger contact 550 is part of the finger gesture (e.g., when the finger gesture 540 is a “press and hold” gesture) (1018).

The device moves the content magnifier 508 and changes the expanded portion 544 of the read-only content in accordance with the detected movement 548 of the finger contact 550 (1020).

The device moves (1022) the position marker 546 from the first location to a second location within the expanded portion of the read-only content in accordance with the detected movement of the finger contact (e.g., from the middle of the word “earth” in FIG. 5N to the middle of the word “nation” in FIG. 5O).

The device detects (1024) lift off of the finger contact 550 while the position marker 546 is located at the second location within the expanded portion 544 of the read-only content (e.g., in the middle of the word “nation” in FIG. 5O).

In response to detecting lift off of the finger contact, the device: ceases to display the content magnifier 508, the expanded portion 544 of the read-only content, and the position marker 546; and displays a first command display area 516 adjacent to a current location in the read-only content at the first magnification (1026). The current location corresponds to the second location within the expanded portion of the read-only content (e.g., the middle of the word “nation” in FIG. 5P). The first command display area 516 includes an icon for selecting content associated with the current location (e.g., “Select” icon 518, FIG. 5P).

In some embodiments, the first command display area 516 includes (1028) an icon for selecting all of the read-only content (e.g., “Select All” icon 520, FIG. 5P).

In some embodiments, the first command display area 516 includes (1030) an icon for displaying additional command options (not shown, but analogous to the “ . . . ” icon 602 in FIG. 6K).

In some embodiments, the first command display area 516 includes (1032) an icon for undoing a previous action (not shown, but analogous to the “Undo” icon 604, FIG. 6N).

In some embodiments, the first command display area 516 includes (1034) an icon redoing a previous action (not shown, but analogous to the “Redo” icon 605, FIG. 6N).

In some embodiments, icons in the first command display area 516 include (1036) at least one command that is user configurable.

In some embodiments, icons in the first command display area 516 include (1038) at least one command that is context sensitive.

In some embodiments, the read-only content 538 is displayed within a first application, and icons in the first command display area 516 include (1040) at least one command to invoke a second application coupled to the first application via a predefined application programming interface.

In some embodiments, the device detects (1042) a finger gesture on the icon for selecting content associated with the current location (e.g., a tap gesture 552 on “Select” icon 518, FIG. 5P). In response to detecting the finger gesture on the icon for selecting content associated with the current location, the device: ceases to display the first command display area 516 and selects content associated with the current location. In some embodiments, a word is selected if the current location is within the word (e.g., the word “nation” in FIGS. 5P-5Q), adjacent to the first letter of the word, or adjacent to the last letter of the word. In some embodiments, the closest word and any punctuation and/or spaces are selected if the current location is after a sentence and not within a word or adjacent to the first or last letter of a word. In some embodiments, this content selection is analogous to that described above for editable content, but no insertion marker 510 is displayed because the content is read-only content.

In some embodiments, in response to detecting the finger gesture on the icon for selecting content associated with the current location, the device displays (1044) a start-point object 526 and an end-point object 528 at respective ends of the selected content 524. For example, in response to detecting the tap gesture 552 on “Select” icon 518 (FIG. 5P), the device displays a start-point object 526 and an end-point object 528 at respective ends of the selected word “nation” (FIG. 5Q).

In some embodiments, in response to detecting the finger gesture on the icon for selecting content associated with the current location, the device displays (1046) a second command display area adjacent to the selected content (e.g., second command display area 530 is adjacent to the selected word “nation” in FIG. 5Q). The second command display area 530 includes an icon for copying the selected content (e.g., “copy” icon 534, FIG. 5Q).

The second command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the same content can be either editable or read-only, depending on the context or mode of an application, in which case the method for initially selecting content changes accordingly (e.g., from method 900 to method 1000). For example, the content in the notes application 153 is editable in FIGS. 5A-5L, whereas the content in the notes application 153 is read-only in FIGS. 5M-5Q. The read-only mode in the notes application 153 may be entered in response to activation of the “Done” icon (FIG. 5A), while the editing mode may be entered in response to activation of the “+” icon (FIG. 5M) or by a gesture (e.g., a tap gesture) on the read-only content 538.

FIGS. 11A-11C are flow diagrams illustrating a method of selecting content in accordance with some embodiments. The method 1100 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 1100 may be combined and/or the order of some operations may be changed.

As described below, the method 1100 provides an intuitive way to select content at a multifunction device with a touch screen display. The method reduces the cognitive burden on a user when selecting content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to perform content selection faster and more efficiently conserves power and increases the time between battery charges.

The device displays (1102) content on the touch screen display at a first magnification. In some embodiments, the content comprises (1103) text (e.g., plain text, unstructured text, formatted text, or text in a web page). The content may be either editable 502 or read-only 538.

The device detects (1104) a finger gesture on the content (e.g., gesture 504, FIG. 5A). In some embodiments, the finger gesture on the content is a press and hold gesture (1106).

In response to detecting the finger gesture on the content, the device: expands a portion 506 of the content on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the content at the first magnification; and displays a content magnifier (1108) (e.g., as shown in FIG. 5B). The content magnifier 508 displays the expanded portion 506 of the content and an insertion marker 510 at a first location within the expanded portion of the content (e.g., at the end of the word “equal” in FIG. 5B).

In some embodiments, the expanded portion of the content displayed in the content magnifier includes (1110) portions of at least three horizontal lines of text displayed concurrently (e.g., as shown in FIG. 5O).

In some embodiments, the content magnifier has a predefined shape (e.g., a circle in FIG. 5B) (1112).

In some embodiments, the insertion marker is a cursor, insertion bar, or insertion point (1114).

The device detects (1116) movement (e.g., 512, FIG. 5B) of a finger contact across the touch screen display. In some embodiments, the finger contact 514 is part of the finger gesture (e.g., when the finger gesture 504 (FIG. 5A) is a “press and hold” gesture) (1118).

The device moves the content magnifier 508 and changes the expanded portion 506 of the content in accordance with the detected movement 512 of the finger contact 514 (1120) (e.g., as shown in FIGS. 5B and 5C).

The device moves (1122) the insertion marker 510 from the first location to a second location within the expanded portion of the content in accordance with the detected movement of the finger contact (e.g., from the end of the word “equal” in FIG. 5B to the beginning of the word “Four” in FIG. 5C).

The device detects (1124) lift off of the finger contact 514 while the insertion marker 510 is located at the second location within the expanded portion 506 of the content (e.g., at the beginning of the word “Four” in FIG. 5C).

In response to detecting lift off of the finger contact, the device: ceases to display the content magnifier 508, the expanded portion 506 of the content, and the insertion marker 510; and selects content associated with the second location of the insertion marker (1126) (e.g., as shown in FIG. 5E, where the word “Four” is selected). In some embodiments, a word is selected if the insertion marker is within the word, adjacent to the first letter of the word (e.g., the word “Four” in FIG. 5C), or adjacent to the last letter of the word. In some embodiments, the closest word and any punctuation and/or spaces are selected if the insertion marker 510 is currently located after a sentence and not within a word or adjacent to the first or last letter of a word.

In some embodiments, in response to detecting lift off of the finger contact, the device displays (1128) a start-point object 526 and an end-point object 528 at respective ends of the selected content 524. For example, in response to detecting lift off of the finger contact 514 (FIG. 5C), the device displays a start-point object 526 and an end-point object 528 at respective ends of the selected word “Four” (FIG. 5E).

In some embodiments, in response to detecting lift off of the finger contact, the device displays (1130) a command display area 530 adjacent to the selected content (e.g., command display area 530 is adjacent to the selected word “Four” in FIG. 5E). The command display area 530 includes an icon for copying the selected content (e.g., “Copy” icon 534, FIG. 5E). The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, in response to detecting lift off of the finger contact, the device displays (1132) an animation of the expanded portion 506 of the content shrinking into the selected content 524.

FIG. 12 is a flow diagram illustrating a method of selecting a word with a double-tap gesture by a single finger in accordance with some embodiments. The method 1200 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100).

As described below, the method 1200 provides a fast and easy way to select a word at a multifunction device with a touch screen display. The method reduces the cognitive burden on a user when selecting content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to perform content selection faster and more efficiently conserves power and increases the time between battery charges.

The device displays (1202) content on the touch screen display. In some embodiments, the content comprises (1204) text (e.g., plain text, unstructured text, formatted text, or text in a web page). The content may be either editable 502 or read-only 538.

The device detects (1206) a double-tap gesture by a single finger on a word in the content. For example, the device detects a double-tap gesture 554 by a single finger on the word “forth” in FIG. 5T.

In response to detecting the double-tap gesture 554 by the single finger on the word in the content, the device selects the word, and displays a start-point object and an end-point object at respective ends of the word (1208). For example, in response to detecting the double-tap gesture 554 by the single finger on the word “forth” in FIG. 5T, the device selects “forth”, and displays a start-point object 526 and an end-point object 528 at respective ends of “forth,” as shown in FIG. 5U.

In some embodiments, in response to detecting the double-tap gesture 554 by the single finger on the word in the content, the device displays (1210) a command display area adjacent to the word. For example, the device displays command display area 530 adjacent to “forth” in FIG. 5U. The command display area 530 includes an icon for copying selected content (e.g., “Copy” icon 534, FIG. 5U).

The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB. Analogous methods to method 1200 may be used with some of the other content selection gestures described below to rapidly select desired portions of text, without needing to use the content magnifier 508 to position the insertion marker 510.

FIGS. 13A-13G are flow diagrams illustrating a method of selecting content with finger gestures in accordance with some embodiments. The method 1300 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 1300 may be combined and/or the order of some operations may be changed.

As described below, the method 1300 provides a fast and easy way to select content at a multifunction device with a touch screen display. The method reduces the cognitive burden on a user when selecting content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to perform content selection faster and more efficiently conserves power and increases the time between battery charges.

The device displays (1302) content on the touch screen display. In some embodiments, the content comprises (1304) text (e.g., plain text, unstructured text, formatted text, or text in a web page). The content may be either editable 502 or read-only 538.

The device detects (1306) one or more fingers on the touch screen display.

The device recognizes (1308) a gesture made by the one or more fingers on the touch screen display. The gesture is one gesture in a plurality of predefined gestures operable to select or assist in selecting a portion of the content.

The device performs (1310) an action with respect to the content in response to recognizing the gesture.

In some embodiments, performing an action includes, in response to recognizing the gesture, selecting at least a portion of the content, and displaying a start point object 526 and end point object 528 at respective ends of the selected content 524 (1312).

In some embodiments, performing an action includes, in response to recognizing the gesture, selecting at least a portion of the content and displaying a command display area 530 adjacent the selected content (1314). The command display area 530 includes one or more icons corresponding to respective commands. The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a single-tap gesture by a single finger at a first location in the content (1316). In response to recognizing the single-tap gesture by the single finger at the first location in the content, the device displays an insertion marker 510 at the first location in the content.

In some embodiments, the gesture is a predefined number of successive taps by a single finger (e.g., a double-tap gesture) on a first word in the content (1318). In response to recognizing the predefined number of successive taps by the single finger on the first word in the content, the device selects the first word and displays a start-point object and an end-point object at respective ends of the first word. For example, in response to recognizing a double-tap gesture 566 (FIG. 5V) on the word “nation,” the device selects the word “nation” and displays a start-point object 526 and an end-point object 528 at respective ends of “nation” (FIG. 5W). In some embodiments, in response to recognizing the predefined number of successive taps by the single finger on the first word in the content, the device displays (1320) a command display area 530 (FIG. 5W) adjacent to the first word. The command display area 530 includes an icon for copying selected content (e.g., “Copy” icon 534, FIG. 5W). The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a predefined number of successive taps by a single finger (e.g., a triple-tap gesture) on a sentence in the content (1322). In some embodiments, the gesture is on a single line of text in the content. In response to recognizing the predefined number of successive taps by the single finger on the sentence (or single line of text) in the content, the device selects the sentence (or single line of text) and displays a start-point object and an end-point object at respective ends of the sentence (or single line of text). For example, in response to recognizing a triple-tap gesture 562 on a sentence (FIG. 5V), the device selects the sentence and displays a start-point object 526 and an end-point object 528 at respective ends of the sentence (FIG. 5X). Alternatively, in response to recognizing a triple-tap gesture 564 on a single line of text (FIG. 5V), the device selects the single line of text and displays a start-point object 526 and an end-point object 528 at respective ends of the single line of text (FIG. 5Y). In some embodiments, in response to recognizing the predefined number of successive taps by the single finger on the sentence in the content (or single line of text), the device displays (1324) a command display area 530 adjacent to the sentence (or single line of text). The command display area 530 includes an icon for copying selected content (e.g., “Copy” icon 534, FIG. 5X or 5Y). The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a predefined number of successive taps by a single finger (e.g., a quadruple-tap gesture) on a paragraph in the content (1326). In response to recognizing the predefined number of successive taps by the single finger on the paragraph in the content, the device selects the paragraph and displays a start-point object and an end-point object at respective ends of the paragraph. For example, in response to recognizing a quadruple-tap gesture 566 on a paragraph (FIG. 5V), the device selects the paragraph and displays a start-point object 526 and an end-point object 528 at respective ends of the paragraph (FIG. 5Z). In some embodiments, in response to recognizing the predefined number of successive taps by the single finger on the paragraph in the content, the device displays (1328) a command display area 530 adjacent to the paragraph. The command display area 530 includes an icon for copying selected content (e.g., “Copy” icon 534, FIG. 5Z). The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a stationary (or substantially stationary) pressing gesture by a single finger at a first location in the content (1330). For example, a single finger contact that moves less than a predefined amount (e.g., 1-2 mm) in a predefined time (e.g., 0.2-0.5 seconds) is a stationary pressing gesture, which is also referred to as a press and hold gesture (e.g., gesture 504, FIG. 5A). The content is displayed at a first magnification. In response to recognizing the stationary pressing gesture by the single finger at a first location in the content, the device expands a portion 506 of the content proximate the first location on the touch screen display to a second magnification that is greater than the first magnification while continuing to display at least some of the content at the first magnification and displays a content magnifier 508 (FIG. 5B). The content magnifier displays the expanded portion 506 of the content, and an insertion marker 510 at a location within the expanded portion of the content that corresponds to the first location. In some embodiments, the device, detects movement (e.g., 512, FIG. 5B) of the single finger across the touch screen display; moves the content magnifier 508 and changes the expanded portion 506 of the content in accordance with the detected movement of the single finger; and moves the insertion marker 510 to a second location within the expanded portion of the content in accordance with the detected movement of the single finger (1332).

In some embodiments, the gesture is a tap-and-a-half gesture by a single finger (1334). The tap-and-a-half gesture is a single-finger gesture that comprises a single tap followed immediately (e.g., within a predefined time period such as 0.3-0.5 seconds) by a finger contact 558 (FIG. 5AA) that subsequently moves (e.g., movement 560, FIG. 5AA) on the touch screen display. In response to recognizing the tap-and-a-half gesture by the single finger, the device selects a portion of the content (e.g., selects a word in the content). In some embodiments, the initially selected portion is in accordance with the location of the single tap on the touch screen display (e.g., selecting a word located at or proximate to the single tap). In some embodiments, the initially selected portion is in accordance with an initial location of the finger contact (e.g., selecting a word located at or proximate to the initial location of the finger contact after the single tap, such as the word “nation” in FIG. 5AA). In response to recognizing the tap-and-a-half gesture by the single finger, the device updates the selected portion of the content in accordance with detected movement of the finger contact 558 on the touch screen display (e.g., increasing the selected portion 524 as shown in FIGS. 5AA and 5BB). In some embodiments, in response to recognizing the tap-and-a-half gesture by the single finger, the device displays (1336) a start-point object 526 and an end-point object 528 at respective ends of the updated selected portion of the content 524. In some embodiments, updating the selected portion of the content in accordance with detected movement of the finger contact on the touch screen display includes the device moving one end of the selected portion of the content in accordance with detected movement of the finger contact on the touch screen display while maintaining another end of the selected portion of the content at a fixed location in the content (1338). For example, the end of the selected portion of the content may be increased as the finger contact moves forward through text on the display, while the beginning of the selected portion of the content remains fixed, as illustrated in FIGS. 5AA and 5BB. Conversely, the start of the selected portion of the content may be increased as the finger contact moves backward through text on the display, while the end of the selected portion of the content remains fixed. In some embodiments, the start-point object 526 and the end-point object 528 are displayed moving in accordance with their respective ends of the updated selected portion of the content 524. In some embodiments, in response to detecting lift off of the finger contact, the device displays (1340) a command display area 530 (FIG. 5CC) adjacent to the updated selected portion of the content 524 (FIG. 5CC). The command display area 530 includes an icon for copying selected content (e.g., “Copy” icon 534, FIG. 5CC). The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a single-tap gesture by two-fingers (e.g., 568 and 570, FIG. 5V) on a paragraph in the content (1342). In response to recognizing the single-tap gesture by two-fingers on a paragraph in the content, the device selects the paragraph in the content and displays a start-point object and an end-point object at respective ends of the paragraph, as shown in FIG. 5Z. In some embodiments, the device selects a sentence or other predefined portion of text, rather than a paragraph. In some embodiments, in response to recognizing the single-tap gesture by two-fingers on a paragraph in the content, the device displays (1344) a command display area 530 (FIG. 5Z) adjacent to the paragraph. The command display area includes an icon for copying selected content (e.g., “Copy” icon 534, FIG. 5Z). The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a stationary (or substantially stationary) pressing gesture by two fingers that includes contact 572 (FIG. 5DD) by a first finger at a first location in the content and concurrent contact 574 (FIG. 5DD) by a second finger at a second location in the content (1346). For example, each of the two finger contacts moves less than a predefined amount (e.g., 1-3 mm) in a predefined time (e.g., 0.4 seconds). In response to recognizing the stationary pressing gesture by two fingers, the device selects the portion of content located between the first location and the second location and displays a start-point object 526 and an end-point object 528 at respective ends of the selected portion of content 524 located between the first location and the second location (FIG. 5DD).

In some embodiments, after selecting the portion of content located between the first location and the second location (1347), the device: detects movement of the contact 572 (FIG. 5EE) by the first finger; updates the selected portion of content in accordance with the detected movement of the contact by the first finger (FIG. 5EE); detects movement of the contact 574 (FIG. 5FF) by the second finger; updates the selected portion of content in accordance with the detected movement of the contact by the second finger (FIG. 5GG); and displays the start-point object 526 and the end-point object 528 at respective ends of the updated selected portion of content 524 (1348) (FIG. 5HH).

In some embodiments, after selecting the portion of content located between the first location and the second location, the device continues (1350) to detect the stationary pressing gesture by the two fingers (e.g., 576 and 578, FIG. 5II) for at least a predefined time period. For example, the device continues to detect the stationary pressing gesture by the two fingers for at least 0.6 additional seconds. In response to continuing to detect the stationary pressing gesture by the two fingers for at least the predefined time period, the device increases the selected portion of content to a sentence that contains the portion of content located between the first location and the second location and displays the start-point object and the end-point object at respective ends of the sentence (FIG. 5JJ).

In some embodiments, after selecting the portion of content located between the first location and the second location, the device continues (1352) to detect the stationary pressing gesture by the two fingers (e.g., 576 and 578, FIG. 5II) for at least a predefined time period. For example, the device continues to detect the stationary pressing gesture by the two fingers for at least 0.6 additional seconds. In response to continuing to detect the stationary pressing gesture by the two fingers for at least the predefined time period, the device increases the selected portion of content to a paragraph that contains the portion of content located between the first location and the second location and displays the start-point object and the end-point object at respective ends of the paragraph (FIG. 5KK).

In some embodiments, after selecting the portion of content located between the first location and the second location, the device continues (1354) to detect the stationary pressing gesture by the two fingers (e.g., 576 and 578, FIG. 5II) for at least a predefined time period. For example, the device continues to detect the stationary pressing gesture by the two fingers for at least 0.6 additional seconds. In response to continuing to detect the stationary pressing gesture by the two fingers for at least the predefined time period, the device selects all of the content and displays the start-point object and the end-point object at respective ends of the content.

In some embodiments, after selecting the portion of content located between the first location and the second location, the device continues (1356) to detect the stationary pressing gesture by the two fingers (e.g., 576 and 578, FIG. 5II) for a succession (or plurality) of predefined time periods. In response to continuing to detect the stationary pressing gesture by the two fingers for each time period in the succession of predefined time periods, the device increases the selected portion of content and displays the start-point object and the end-point object at respective ends of the increased selected portion of content (e.g., from FIGS. 5II, to 5JJ, to 5KK). The increased selected portion of content contains the portion of content located between the first location and the second location.

In some embodiments, in response to detecting lift off of the two fingers (e.g., 576 and 578), the device displays (1358) a command display area 530 adjacent to the selected portion of content 524. The command display area 530 includes an icon for copying selected content (e.g., “Copy” icon 530). The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a margin-initiated selection gesture by a single finger (1360). The margin-initiated selection gesture is a single-finger gesture that comprises an initial finger contact (e.g., a finger-down event 580, FIG. 5LL) in a margin adjacent to a word (e.g., the word “dedicated” in FIG. 5LL) in the content followed by movement of the finger contact (e.g., movement 582 of the finger contact 580 (FIG. 5LL) across the word or a portion thereof) to a location in the content. In response to recognizing the margin-initiated selection gesture by the single finger, the device selects a portion of the content, wherein the word begins or ends the selected portion of content (e.g., the word “dedicated” in FIG. 5LL begins the selected portion), and updates the selected portion of the content in accordance with movement 582 of the finger contact to the location in the content. In some embodiments, in response to recognizing the margin-initiated selection gesture by the single finger, the device displays (1362) a start-point object and an end-point object at respective ends of the updated selected portion of the content (FIG. 5NN). In some embodiments, the device displays the start-point object and the end-point object during updating, too (FIG. 5MM). In some embodiments, in response to detecting lift off of the finger contact, the device displays (1364) a command display area 530 adjacent to the updated selected portion of the content 524 (not shown). The command display area 530 includes an icon for copying selected content (e.g., “Copy” icon 534). The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments where the content is configured to scroll vertically, but not horizontally, on the touch screen display, the gesture is a swipe-initiated selection gesture by a single finger (1366). The swipe-initiated selection gesture is a single-finger gesture that comprises: (1) a finger contact (e.g., a finger-down event 584, FIG. 5OO) initially at a first location (e.g., the word “brought” in FIG. 5OO) in the content, wherein the finger contact is initially moving in a direction within a predefined angle of a horizontal axis on the touch screen display (e.g., within 5°-30° of the horizontal axis), and (2) movement of the finger contact to a second location in the content (e.g., movement 586, FIG. 5OO). In some embodiments, the finger contact 584 initially moves a predefined number of units of movement prior to a timeout period expiration (e.g., 3.2 mm in 1.5 seconds). In some embodiments, the finger contact moves with an initial speed above a predefined threshold initial speed (e.g., 2 mm/sec). In response to recognizing the swipe-initiated selection gesture by the single finger, the device selects a portion of the content, wherein the first location begins or ends the selected portion of content (e.g., the word “brought” in FIG. 5OO begins the selected portion), and updates the selected portion 524 of the content in accordance with the movement of the finger contact 584 to the second location in the content (FIG. 5PP). In some embodiments, the device displays (1368) a start-point object 526 and an end-point object 528 at respective ends of the updated selected portion 524 of the content (FIG. 5QQ). In some embodiments, the device displays the start-point object and the end-point object during updating, too (FIG. 5PP). In some embodiments, in response to detecting lift off of the finger contact, the device displays (1370) a command display area 530 adjacent to the updated selected portion 524 of the content (not shown). The command display area 530 includes an icon for copying selected content (e.g., “Copy” icon 534). The command display area 530 may include one or more of the icons discussed below with respect to FIGS. 6A-6BB.

FIGS. 14A-14D are flow diagrams illustrating a method of using a command display area for selected content in accordance with some embodiments. The method 1400 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 1400 may be combined and/or the order of some operations may be changed.

As described below, the method 1400 provides an intuitive way to use a command display area to interact with selected content at a multifunction device with a touch screen display. The method efficiently displays and activates commands with respect to selected content. The method also makes the command display area appear when needed and disappear when no longer needed. The method reduces the cognitive burden on a user when interacting with selected content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to interact with selected content faster and more efficiently conserves power and increases the time between battery charges.

The device displays (1402) content on the touch screen display (e.g., editable content 502 or read-only content 538). The displayed content includes selected content 524 (e.g., content selected in response to detecting one or more touch gestures by a user on the touch screen display).

The device visually distinguishes (1404) the selected content 524 from displayed content that is not selected (e.g., by shading and/or coloring the background of the selected content).

In some embodiments, the device displays (1406) a start-point object 526 and an end-point object 528 at respective ends of the selected content 524.

The device displays (1408) a command display area 530 adjacent to the selected content 524 on the touch screen display. The command display area 530 includes one or more command icons. In some embodiments, icons in the command display area 530 are displayed in a single row (1410), which makes it easier to select a respective icon with a finger.

The device detects (1412) activation of a command icon in the command display area 530 (e.g., by a finger gesture such as a tap gesture on the command icon or by detecting a spoken word that corresponds to the command icon (voice activation)).

In response to detecting activation of the command icon in the command display area, the device performs (1414) a corresponding action with respect to the selected content.

In some embodiments, the command display area 530 includes an icon for copying selected content (e.g., “Copy” icon 534, FIG. 6A). The device detects (1416) activation of the icon for copying selected content (e.g., by voice or by a finger gesture such as a tap gesture on “Copy” icon). In response to detecting activation of the icon for copying selected content, the device copies the selected content (e.g., to a clipboard or memory location in the multifunction device).

In some embodiments, the command display area includes an icon for cutting selected content (e.g., “Cut” icon 532, FIG. 6A). The device detects (1418) activation of the icon for cutting selected content (e.g., by voice or by a finger gesture such as a tap gesture on “Cut” icon 532, FIG. 6A). In response to detecting activation of the icon for cutting selected content, the device cuts the selected content 524 (FIG. 6B).

In some embodiments, the command display area includes an icon for pasting previously cut or copied content (e.g., “Paste” icon 536, FIG. 6C). The device detects (1420) activation of the icon for pasting previously cut or copied content (e.g., by voice or by a finger gesture such as a tap gesture on “Paste” icon 536, FIG. 6C). In response to detecting activation of the icon for pasting previously cut or copied content, the device replaces the selected content with previously cut or copied content. For example, in response to activating the “Paste” icon in FIG. 6C, the device replaces the selected content “endure” (FIG. 6C) with the previously copied content “nation” (FIG. 6D). Alternatively, if no content is selected, the device pastes the previously copied content at the position of the insertion marker 510 (e.g., as illustrated in FIGS. 6E and 6F for pasting into a note; as illustrated in FIGS. 6G and 6H for pasting into an instant message; and as illustrated in FIGS. 61 and 6J for pasting into an email).

In some embodiments, the command display area includes an icon for undoing a previous action (e.g., “Undo” icon 604, FIG. 6N). The device detects (1422) activation of the icon for undoing a previous action (e.g., by voice or by a finger gesture such as a tap gesture on “Undo” icon 604, FIG. 6N). In response to detecting activation of the icon for undoing a previous action, the device undoes a previous action performed by the device.

For example, suppose the word “iPhone” in FIG. 6L was mistakenly cut in FIG. 6M. In some embodiments, the cutting action may be undone by activating the “Undo” icon 604 in FIG. 6N, thereby restoring the word “iPhone” in FIG. 6P. Alternatively, in some embodiments, in response to detecting a shaking gesture (e.g., with accelerometers 168), the device undoes the previous cutting action and restores the word “iPhone” in FIG. 6P. Alternatively, in some embodiments, in response to detecting a shaking gesture (e.g., with accelerometers 168), the device displays an undo icon 606, FIG. 6O. The device undoes the previous cutting action and restores the word “iPhone” in FIG. 6P in response to a finger gesture (e.g., a tap gesture) on the undo icon 606.

In some embodiments, the command display area 530 includes an icon for displaying additional command options (e.g., “ . . . ” icon 602, FIG. 6K). The device detects (1424) activation of the icon for displaying additional command options (e.g., by voice or by a finger gesture such as a tap gesture on “ . . . ” icon 602, FIG. 6K). In response to detecting activation of the icon for displaying additional command options, the device displays additional command icons (e.g., undo 606 and redo 608 in FIG. 6O). Activation of a respective additional command icon (e.g., by voice or by a finger gesture such as a tap gesture on the respective additional command icon, not shown) initiates a corresponding action with respect to the selected content. The additional commands may be one or more of the commands that can alternatively be displayed as part of the command display area 530, such as Map it, Call it, etc., as described herein.

In some embodiments, the command display area 530 includes an icon for providing information about a physical location in selected content (e.g., “Map it” icon 614, FIG. 6Q). The device detects (1426) activation of the icon for providing information about a physical location in the selected content (e.g., by voice or by a finger gesture such as a tap gesture on “Map it” icon 614, FIG. 6Q). In response to detecting activation of the icon for providing information about a physical location in the selected content, the device displays information about a physical location in the selected content (e.g., showing the physical location on a map in a mapping application, FIG. 6R). In some embodiments, the device may recognize the physical location (e.g., an address) in the selected content (e.g., selected content 612, FIG. 6Q). In some embodiments, the device may recognize the physical location (e.g., an address) in the selected content, even if the selected content includes additional information besides the address. For example, the device may recognize the address in selected content 610 (FIG. 6K), even though selected content 610 includes other information besides the address.

In some embodiments, the command display area 530 includes an icon for calling a phone number in the selected content (e.g., “Call it” icon 616, FIG. 6S). The device detects (1428) activation of the icon for calling a phone number in the selected content (e.g., by voice or by a finger gesture such as a tap gesture on “Call it” icon 616, FIG. 6S). In response to detecting activation of the icon for calling a phone number in the selected content, the device calls a phone number in the selected content (FIG. 6T). In some embodiments, the device may recognize the phone number in the selected content (e.g., selected content 622, FIG. 6S). In some embodiments, the device may recognize the phone number in the selected content, even if the selected content includes additional information besides the phone number. For example, the device may recognize the phone number in selected content 610 (FIG. 6K), even though selected content 610 includes other information besides the phone number.

In some embodiments, the command display area 530 includes an icon for initiating an instant message using information in selected content (e.g., “Text message” icon 618, FIG. 6S). The device detects (1430) activation of the icon for initiating an instant message using information in selected content (e.g., by voice or by a finger gesture such as a tap gesture on “Text message” icon 618, FIG. 6S). In response to detecting activation of the icon for initiating an instant message using information in selected content, the device initiates an instant message using information in the selected content (e.g., opening an instant messaging application and presenting an instant message input area for an instant message to an address or phone number (for a telephony-based instant message) in the selected content, FIG. 6U).

In some embodiments, the command display area 530 includes an icon for initiating an email message using an email address in selected content (e.g., “E-mail” icon 624, FIG. 6W). The device detects (1432) activation of the icon for initiating an email message using an email address in selected content (e.g., by voice or by a finger gesture such as a tap gesture on “Email” icon 624, FIG. 6W). In response to detecting activation of the icon for initiating an email message using an email address in selected content, the device initiates an email message using an email address in the selected content (e.g., opening an email application and presenting an email input area for an email message to an email address in the selected content (FIG. 6X). In some embodiments, the device may recognize the email address in the selected content (e.g., selected content 630, FIG. 6W). In some embodiments, the device may recognize the email address in the selected content, even if the selected content includes additional information besides the email address. For example, the device may recognize the email address in selected content 610 (FIG. 6K), even though selected content 610 includes other information besides the email address.

In some embodiments, the command display area 530 includes an icon for initiating a slide show using images in selected content. The device detects (1434) activation of the icon for initiating a slide show using images in selected content (e.g., by voice or by a finger gesture such as a tap gesture on a “Slide show” icon). In response to detecting activation of the icon for initiating a slide show using images in selected content, the device initiates a slide show using images in the selected content.

In some embodiments, the command display area 530 includes an icon for displaying a webpage using a web address in selected content (e.g., “Browse” icon 626, FIG. 6Y). The device detects (1436) activation of the icon for displaying a webpage using a web address in selected content (e.g., by voice or by a finger gesture such as a tap gesture on “Browse” icon 626, FIG. 6Y). In response to detecting activation of the icon for displaying a webpage using a web address in selected content, the device displays a webpage using a web address in the selected content (e.g., in a browser application, FIG. 6Z). In some embodiments, the device may recognize the web address in the selected content (e.g., selected content 628, FIG. 6Y). In some embodiments, the device may recognize the web address in the selected content, even if the selected content includes additional information besides the email address. For example, the device may recognize the web address in selected content 610 (FIG. 6K), even though selected content 610 includes other information besides the web address.

In some embodiments, the command display area 530 includes an icon for initiating a search using information in selected content (e.g., “Search” icon 632, FIG. 6AA). The device detects (1438) activation of the icon for initiating a search using information in selected content (e.g., by voice or by a finger gesture such as a tap gesture on “Search” icon 632, FIG. 6AA). In response to detecting activation of the icon for initiating a search using information in selected content, the device initiates a search using information in the selected content (e.g., using the selected content or a portion thereof as search input for a web search, FIG. 6BB). In some embodiments, the search includes an Internet search (e.g., a Google search, FIG. 6BB). In some embodiments, the search includes a search of information on the device (e.g., a Spotlight search).

In some embodiments, the command display area includes an icon for adding information to a contacts application (e.g., “Add to Contacts” icon 620, FIG. 6S). The device detects (1440) activation of the icon for adding information to a contacts application (e.g., by voice or by a finger gesture such as a tap gesture on “Add to Contacts” icon 620, FIG. 6S). In response to detecting activation of the icon for adding information to a contacts application, the device adds information in the selected content to a contacts application (FIG. 6V).

In some embodiments, the command display area moves (1442) on the touch screen display as the selected content moves.

In some embodiments, icons in the command display area include (1444) at least one command that is user configurable. For example, a user may be able to add a “Select All” icon to the Cut, Copy, and Paste icons in the command display area 530 via a settings menu. Similarly, a user may be able to add a “Map it,” “Search,” or other icon to the command display area 530 via a settings menu.

In some embodiments, icons in the command display area include (1446) at least one command that is context sensitive. For example, the cut and paste icons are not displayed for read-only content. Similarly, the paste icon is not displayed when an image has been copied and the input field requires text input.

In some embodiments, the content is displayed within a first application (e.g., email 140), and icons in the command display area include (1448) at least one command to invoke a second application (e.g., browser 147, map 154, or contacts 137) coupled to the first application via a predefined application programming interface.

In some embodiments, the device detects (1450, FIG. 14A) an input by a user prior to detecting activation of the command icon (e.g., a finger gesture such as a swipe gesture 634 on the content, FIG. 6CC). In response to detecting the input by the user, the device scrolls the content on the touch screen display and ceases to display the command display area (FIG. 6DD). In some embodiments, the device stops the scrolling of the content. In response to the scrolling of the content stopping, the device redisplays (1452) the command display area adjacent to the selected content on the touch screen display (FIG. 6EE). In other words, the command display area 530 disappears during scrolling and reappears when the scrolling stops, as illustrated in FIGS. 6CC-6EE. This gives the viewer an unobstructed view of the content during scrolling. The command display area 530 is typically displayed adjacent to the selected content, such as just above or just below the selected content. In some cases, the command display area overlaps or is displayed within the selected content.

In some embodiments, the device detects an input by a user prior to detecting activation of the command icon. For example, the device detects a finger gesture such as a tap gesture 636 (FIG. 6FF) at a location on the touch screen display away from the selected content 524 (e.g., at least a predefined minimum distance away from the selected content, such as 3.2 mm). In response to detecting the input by the user, the device deselects the selected content and ceases to display the command display area (1454) (FIG. 6GG).

In some embodiments, in response to detecting activation of the command icon (e.g., by a finger tap gesture 638 on “Copy” icon 534, FIG. 6HH) in the command display area 530, the device ceases (1456, FIG. 14D) to display the command display area (FIG. 6II).

In some embodiments, the device detects typing input by a user prior to detecting activation of the command icon. For example, the device detects finger gesture 642 on the “b” key in keyboard 640 (FIG. 6JJ). In response to detecting the typing input by the user, the device replaces the selected content with characters that correspond to the typing input and ceases to display the command display area (1458, FIG. 14A) (FIG. 61KK).

In some embodiments, the device detects a finger gesture by a user on a respective end of the selected content (i.e., the beginning or the end of the selected content) prior to detecting activation of the command icon (e.g., a finger tap gesture on the beginning or end of the selected content). In response to detecting the finger gesture by the user on the respective end of the selected content, the device ceases to display the command display area; displays an insertion marker at the respective end of the selected content; and deselects the selected content (1460). For example, in response to detecting finger gesture 644 (FIG. 6LL) by the user on the end of the selected content 524, the device ceases to display the command display area 530; displays an insertion marker 510 at the end of the selected content; and deselects the selected content (FIG. 6MM).

In some embodiments, the device detects a finger gesture by a user on the start-point object prior to detecting activation of the command icon (e.g., a finger tap gesture on the start-point object). In response to detecting the finger gesture by the user on the start-point object, the device ceases to display the command display area, the start-point object, and the end-point object; displays an insertion marker at the start of the selected content; and deselects the selected content (1462).

In some embodiments, the device detects a finger gesture by a user on the end-point object prior to detecting activation of the command icon (e.g., a finger tap gesture 644 (FIG. 6LL) on the end-point object 528). In response to detecting the finger gesture by the user on the end-point object, the device ceases to display the command display area, the start-point object, and the end-point object; displays an insertion marker 510 at the end of the selected content; and deselects the selected content (1464) (FIG. 6MM).

In some embodiments, the device detects a finger gesture by a user on the selected content prior to detecting activation of the command icon (e.g., a finger tap gesture 646 (FIG. 6NN) in the middle of the selected content). In response to detecting the finger gesture by the user on the selected content, the device ceases (1466) to display the command display area 530. In some embodiments, the device detects a finger gesture by a user on the selected content after ceasing to display the command display area and prior to detecting activation of the command icon (e.g., another finger tap gesture 648 (FIG. 6OO) in the middle of the selected content). In response to detecting the finger gesture by the user on the selected content, the device redisplays (1468) the command display area 530 adjacent to the selected content (FIG. 6NN). In other words, the user may toggle display of the command display area on and off by tapping within the selected content 524.

FIGS. 15A-15C are flow diagrams illustrating a method of positioning a command display area in accordance with some embodiments. The method 1500 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 1500 may be combined and/or the order of some operations may be changed.

As described below, the method 1500 provides an efficient way to position a command display area so that the command display area does not obscure other important user interface elements on a touch screen display. The method reduces the cognitive burden on a user when using the command display area, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to use the command display area faster and more efficiently conserves power and increases the time between battery charges.

The device displays (1502) a user interface element that contains content 650 (FIG. 6PP). The content includes selected content 524 (e.g., content selected in response to detecting one or more touch gestures by a user on the touch screen display).

The device visually distinguishes (1504) the selected content 524 from displayed content that is not selected (e.g., by shading and/or coloring the background of the selected content).

The device displays (1506) a command display area 530 element that includes one or more command icons. For purposes of this discussion, the command display area 530 is one of a number of UI elements, each of which has a respective display priority, as explained in more detail below. The command display area 530 element is displayed in front of other elements in the user interface, including the user interface element displaying content 650. Activation of a command icon initiates performance of a corresponding action with respect to the selected content 524.

The device displays (1508, FIG. 15C) one or more predefined priority elements in front of which the command display area element cannot be displayed (e.g., a keyboard 640, FIG. 6PP)

In some embodiments, displaying the command display area 530 element comprises displaying (1510) the command display area element in an area above and adjacent to the selected content when: the area above and adjacent to the selected content is large enough to display the command display area element, and the area above and adjacent to the selected content does not include any predefined priority elements (e.g., FIGS. 6PP and 6TT).

In some embodiments, the device displays (1512) the command display area element in an area below and adjacent to the selected content when: the area above and adjacent to the selected content is not large enough to display the command display area element or includes predefined priority elements; the area below and adjacent to the selected content is large enough to display the command display area element, and the area below and adjacent to the selected content does not include any predefined priority elements (e.g., FIGS. 6RR and 6UU).

In some embodiments, the device displays (1514) the command display area element in an area within the selected content when: the area above and adjacent to the selected content is not large enough to display the command display area element or includes predefined priority elements; and the command display area is small enough to fit within the selected content (e.g., FIGS. 6QQ and 6SS).

In some embodiments, the device displays (1516) the command display area element in front of and within the selected content when: the area above and adjacent to the selected content is not large enough to display the command display area element or includes predefined priority elements; the area below and adjacent to the selected content is not large enough to display the command display area element or includes predefined priority elements; and the command display area is small enough to fit within the selected content (e.g., FIG. 6QQ).

In some embodiments, the device displays (1518) the command display area element in an area below and adjacent to the selected content when: the area above and adjacent to the selected content is not large enough to display the command display area element or includes predefined priority elements; the command display area is too large to fit within the selected content; the area below and adjacent to the selected content is large enough to display the command display area element; and the area below and adjacent to the selected content does not include any predefined priority elements (e.g., FIG. 6UU).

In some embodiments, the device suppresses (1520) display of the command display area element when: the area above and adjacent to the selected content is not large enough to display the command display area element or includes predefined priority elements; the area below and adjacent to the selected content is not large enough to display the command display area element or includes predefined priority elements; and the command display area is too large to fit within the selected content.

In some embodiments, the device displays (1524) the command display area element in an area below and adjacent to the selected content when: the area below and adjacent to the selected content is large enough to display the command display area element, and the area below and adjacent to the selected content does not include any predefined priority elements (e.g., FIGS. 6RR and 6UU).

In some embodiments, the device displays (1526) the command display area element in front of and within the selected content when: the command display area is small enough to fit within the selected content (e.g., FIGS. 6QQ and 6SS)

In some embodiments, the device displays (1528) the command display area 530 element at a first position relative to the selected content 524 (e.g., just above the selected content, FIG. 6PP). The device moves the content on the touch screen display, including moving the selected content (e.g., scrolling the content in response to a finger gesture). The device ceases to display the command display area element while moving the content. When the content stops moving, the device redisplays the command display area 530 element at a second position relative to the selected content. The second position relative to the selected content is different from the first position relative to the selected content (e.g., just below the selected content, FIG. 6RR, or within the selected content, FIG. 6QQ).

FIGS. 16A-16E are flow diagrams illustrating a method of updating a respective end of selected content with a content magnifier in accordance with some embodiments. The method 1600 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 1600 may be combined and/or the order of some operations may be changed.

As described below, the method 1600 provides an intuitive way to adjust a respective end of selected content at a multifunction device with a touch screen display. The method reduces the cognitive burden on a user when selecting content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to perform content selection faster and more efficiently conserves power and increases the time between battery charges.

The device displays (1602) content on the touch screen display at a first magnification (e.g., editable content 502 or read-only content 538). The content includes selected content 524 (e.g., content selected in response to detecting one or more touch gestures by a user on the touch screen display). In some embodiments, the content comprises (1604) text (e.g., plain text, unstructured text, formatted text, or text in a web page).

In some embodiments, the device displays (1606) a start-point object 526 and an end-point object 528 at respective ends of the selected content 524 (FIG. 7A).

The device detects (1608) a finger contact on a respective end of the selected content (which end may include a start-point object or end-point object or a hidden hit region of one of these objects). The respective end is either the beginning or the end of the selected content.

The device displays (1610) a content magnifier 702 adjacent to the respective end of the selected content. The content magnifier displays: an expanded portion 708 of the content proximate to the respective end of the selected content at a second magnification that is greater than the first magnification, and a boundary marker 704 that denotes a current position of the respective end of the selected content.

In some embodiments, the content magnifier 702 has a predefined shape (e.g., a rectangle or a rectangle with rounded corners, as shown in FIG. 7A) (1612). In some embodiments, displaying the content magnifier adjacent to the respective end of the selected content comprises displaying (1614) the content magnifier immediately above and centered over (or substantially centered over) the respective end of the selected content. In some embodiments, the content magnifier is initially displayed in response to detecting the finger contact 706 on the respective end of the selected content (or contact on a corresponding start-point object or end-point object or a hidden hit region of one of these objects) (1616).

In some embodiments, the expanded portion 708 of the content displayed by the content magnifier includes (1618) selected content adjacent to the respective end (e.g., “on so c” in FIG. 7A) and unselected content adjacent to the respective end (e.g., “onceived” in FIG. 7A). In some embodiments, the boundary marker 704 is displayed between the selected content adjacent to the respective end and the unselected content adjacent to the respective end (1620).

In some embodiments, the content magnifier 708 displays (1622) an expanded portion of a single line of text in the content (FIG. 7A). In some embodiments, the content magnifier that assists in positioning the insertion marker (e.g., magnifier 508, FIG. 5B) displays portions of three or more lines of text, while the content magnifier that assists in setting an end point for selected content (e.g., magnifier 702, FIG. 7A) only displays an expanded portion of a single line of text that includes the respective end point.

The device detects (1624) movement of the finger contact 706 across the touch screen display.

The device updates (1626) the respective end of the selected content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact.

In some embodiments, the respective end of the selected content is updated continuously (e.g., the end appears to move within and between characters) (1628).

In some embodiments, the respective end of the selected content is updated character-by-character (e.g., letter-by-letter) (1630).

In some embodiments, the respective end of the selected content is updated word-by-word (1632). In some embodiments, with word-by-word updating, when a location of the finger contact corresponds to a position within a current word (e.g., the position of a character in the middle of the current word), the respective end of the selected content advances to the end of the current word.

In some embodiments, the respective end of the selected content is updated word-by-word when the movement of the finger contact exceeds a predefined value in a predefined time interval (e.g., an average speed) (1634).

In some embodiments, the respective end of the selected content is updated character-by-character when the movement of the finger contact is below a predefined value in a predefined time interval, and the respective end of the selected content is updated word-by-word when the movement of the finger contact is above the predefined value in a predefined time interval (1636).

The device moves (1638) the content magnifier 702 and the boundary marker 704 in accordance with the movement of the finger contact 706. In some embodiments, the boundary marker maintains (1640) a fixed position within the content magnifier.

In some embodiments, the device moves the start-point object 526 in accordance with the movement of the finger contact when the respective end of the selected content is the beginning of the selected content (not shown), and the device moves the end-point object 528 in accordance with the movement of the finger contact when the respective end of the selected content is the end of the selected content (1642).

In some embodiments, the content magnifier displays a sequence of words, including a respective word at the center of the content magnifier (1643). The device updates the respective word at the center of the content magnifier (e.g., the word “conceived” in FIG. 7A) in accordance with the movement of the finger contact. The device moves the boundary marker within the content magnifier by moving the boundary marker within each respective word at the center of the content magnifier for a plurality of successive words at the center of the content magnifier (1644).

In some embodiments, the content magnifier displays a sequence of words, including a respective word at the center of the content magnifier. The device updates the respective word at the center of the content magnifier in accordance with the movement of the finger contact. The device moves the boundary marker within the content magnifier by moving the boundary marker character-by-character within each respective word at the center of the content magnifier for a plurality of successive words at the center of the content magnifier (1646).

In some embodiments, the content magnifier displays a sequence of words, including a respective word at the center of the content magnifier. The device updates the respective word at the center of the content magnifier in accordance with the movement of the finger contact. The device moves the boundary marker within the content magnifier by jumping the boundary marker to an end of each respective word at the center of the content magnifier for a plurality of successive words at the center of the content magnifier (1648). In other words, the device displays word-by-word selection within the content magnifier.

In some embodiments, the boundary marker 704 remains (1650) centered (or substantially centered) within the content magnifier 702.

In some embodiments, moving the content magnifier in accordance with the movement of the finger contact comprises line-by-line movement of the content magnifier 702 (1652). Line-by-line movement may snap the magnifier to a line of text containing the updated respective end of the selected content. In some embodiments, the content magnifier that assists in positioning the insertion marker (e.g., magnifier 508, FIG. 5B) moves continuously on the touch screen display, while the content magnifier that assists in setting an end point for selected content (e.g., magnifier 702, FIG. 7A) moves line-by-line. In some embodiments, both types of magnifiers move continuously. In some embodiments, both types of magnifiers move line-by-line.

In some embodiments, the device detects lift off of the finger contact from the touch screen display. In response to detecting lift off of the finger contact from the touch screen display, the device terminates display of the content magnifier (1654).

In some embodiments, the device detects lift off of the finger contact from the touch screen display when a location of the finger contact corresponds to a current position within a current word. In response to detecting lift off of the finger contact from the touch screen display when the location of the finger contact corresponds to the current position within the current word, the device terminates display of the content magnifier and places the respective end of the selected content at the current position within the current word (1656). For example, in response to detecting lift off of the finger contact 706 (FIG. 7A) from the touch screen display when the location of the finger contact corresponds to the current position within the current word (e.g., between the letter “c” and the letter “o” in “conceived”, FIG. 7A), the device terminates display of the content magnifier 702 and places the respective end of the selected content 524 at the current position within the current word (e.g., between the letter “c” and the letter “o” in “conceived”, FIG. 7B).

In some embodiments, the device detects lift off of the finger contact from the touch screen display when a location of the finger contact corresponds to a current position within a current word. In response to detecting lift off of the finger contact from the touch screen display when the location of the finger contact corresponds to the current position within the current word, the device terminates display of the content magnifier and places the respective end of the selected content at a respective end of the current word (1658). For example, the device may place the respective end of the selected content: (1) at the end of the current word for both the beginning and the end of the selected content; (2) at the end of the current word when the respective end of the selected content is the end of the selected content and at the beginning of the current word when the respective end of the selected content is the beginning of the selected content); or (3) at the respective end of the current word in accordance with the direction of movement of the finger contact just prior to detecting lift off. In some embodiments, in response to detecting lift off of the finger contact from the touch screen display, the device displays (1660) an animation of the content magnifier moving to a position that corresponds to the respective end of the current word prior to terminating display of the content magnifier (e.g., a position immediately above and centered over the respective end of the current word). For example, in response to detecting lift off of the finger contact 706 (FIG. 7A) from the touch screen display when the location of the finger contact corresponds to the current position within the current word (e.g., between the letter “c” and the letter “o” in “conceived”, FIG. 7A), the device terminates display of the content magnifier 702 and places the end of the selected content 524 at the end of the current word (e.g., at the end of “conceived,” FIG. 7E).

In some embodiments, the device detects lift off of the finger contact from the touch screen display when a location of the finger contact corresponds to a current position within a current word (e.g., between the letter “c” and the letter “o” in “conceived”, FIG. 7A). In response to detecting lift off of the finger contact from the touch screen display when the location of the finger contact corresponds to the current position within the current word, the device: terminates display of the content magnifier; places the respective end of the selected content at the current position within the current word (e.g., between the letter “c” and the letter “o” in “conceived”, FIG. 7B) when the movement of the finger contact is less than a predefined value in a predefined time interval (at lift off or in a time period just prior to detecting lift off, for example less than 1.6 mm within 0.5 seconds of detecting lift off); and places the respective end of the selected content at a respective end of the current word (e.g., at the end of “conceived,” FIG. 7E) when the movement of the finger contact is greater than the predefined value in the predefined time interval (1662). For example, the device may place the respective end of the selected content: (1) at the end of the current word for both the beginning and the end of the selected content; (2) at the end of the current word when the respective end of the selected content is the end of the selected content and at the beginning of the current word when the respective end of the selected content is the beginning of the selected content); or (3) at the respective end of the current word in accordance with the direction of movement of the finger contact just prior to detecting lift off. In some embodiments, in response to detecting lift off of the finger contact from the touch screen display, the device displays (1664) an animation of the content magnifier moving to a position that corresponds to the respective end of the current word prior to terminating display of the content magnifier when the movement of the finger contact is greater than the predefined value in the predefined time interval. For example, in response to detecting lift off of the finger contact 706 between the letter “c” and the letter “o” in “conceived” (FIG. 7A), the device displays an animation of the content magnifier 702 moving (e.g., as illustrated in FIGS. 7C and 7D) to a position that corresponds to the respective end of the current word prior to terminating display of the content magnifier (e.g., at the end of “conceived,” FIG. 7E).

Once the content is selected, the device may, in response to user input, perform operations on the selected content such as those described above with respect to FIGS. 6A-6BB.

FIGS. 17A-17B are flow diagrams illustrating a method of selecting content in structured electronic documents in accordance with some embodiments. The method 1700 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 1700 may be combined and/or the order of some operations may be changed.

As described below, the method 1700 provides an intuitive way to select blocks of content in structured electronic documents (e.g., web pages) at a multifunction device with a touch screen display. The method reduces the cognitive burden on a user when selecting content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to perform content selection faster and more efficiently conserves power and increases the time between battery charges.

The use of finger gestures to navigate in structured electronic documents is described in United States Patent Application 20080094368, which is incorporated by reference herein in its entirety. As described therein, in some embodiments, the device analyzes the render tree of a web page to determine the blocks (or boxes of content) in the web page. In some embodiments, a block corresponds to a render node that is: a replaced inline; a block; an inline block; or an inline table. In some embodiments, the plurality of boxes in a web page are defined by a style sheet in (or referenced by) the web page, such as a cascading style sheet. Finger gestures (e.g., like double-tap gesture 802, FIG. 8A) are used to enlarge and center boxes of content in the web page on the touch screen display (e.g., enlarging the box of content titled “Lost in Translation: A U.S. Gift to Russia” from being nearly unreadable in FIG. 8A to being easily readable in FIG. 8B).

The device displays (1702) at least a portion of a structured electronic document on the touch screen display. The structured electronic document comprises a plurality of boxes of content. In some embodiments, the structured electronic document is a web page (1704). In some embodiments, the structured electronic document is an HTML or XML document (1706).

The device detects (1708) a finger gesture on a first box of content in the plurality of boxes of content (e.g., gesture 804, FIG. 8B or gesture 814, FIG. 8F). In some embodiments, the finger gesture is a press and hold gesture (1710). In some embodiments, the finger gesture is a tap-and-a-half gesture (1712). In some embodiments, the structured electronic document has an associated render tree with a plurality of nodes and determining the first box at the location of the finger gesture comprises: traversing down the render tree to determine a first node in the plurality of nodes that corresponds to the detected location of the finger gesture; traversing up the render tree from the first node to a closest parent node that contains a logical grouping of content; and identifying content corresponding to the closest parent node as the first box of content. In some embodiments, the logical grouping of content comprises a paragraph, an image, a plugin object, or a table. In some embodiments, the closest parent node is a replaced inline, a block, an inline block, or an inline table.

In response to detecting the finger gesture on the first box of content in the plurality of boxes of content, the device selects the first box of content and visually distinguishes the selected first box of content 806 from content on the touch screen display that is not selected (1714) (e.g., as shown in FIGS. 8C and 8G). In some embodiments, the first box of content is selected for copying. In some embodiments, the first box of content is selected for use as input to another operation, such as cutting, mapping, searching, or one of the operations described above with respect to FIGS. 6A-6BB.

In some embodiments, visually distinguishing the selected first box of content comprises displaying (1716) the first box of content 806 with a different background shading from content on the touch screen display that is not selected (FIGS. 8C and 8G). In some embodiments, visually distinguishing the selected first box of content comprises displaying (1718) the first box of content with a different background color from content on the touch screen display that is not selected. In some embodiments, visually distinguishing the selected first box of content comprises displaying (1720) a border around the first box of content. In some embodiments, visually distinguishing the selected first box of content comprises displaying one or more selection handles for the first box of content (e.g., handles 808, FIGS. 8C and 8G)(1722).

In some embodiments, in response to detecting the finger gesture on the first box of content in the plurality of boxes of content, the device displays (1724) a command display area 530 for selected content (FIGS. 8C and 8G).

The device detects (1726) a finger contact (e.g., contact 810, FIG. 8C or contact 816, FIG. 8G) on the selected first box of content. In some embodiments, detecting the finger contact on the selected first box of content comprises detecting (1728) the finger contact on a selection handle 808 for the selected first box of content (FIGS. 8C and 8G). In some embodiments, the finger contact is part of the finger gesture (e.g., when the finger gesture is a “press and hold” gesture)(1730).

The device detects (1732) movement (e.g., movement 812, FIG. 8C or movement 818, FIG. 8G) of the finger contact 810 to a location outside the selected first box of content (FIG. 8D or FIG. 8H, respectively).

In some embodiments, while detecting movement of the finger contact outside the selected first box of content, the device visually distinguishes (1734) selected boxes of content (or boxes of content that will be selected if lift off of the finger contact is detected at the current location of the finger contact) from content on the touch screen display that is not selected.

The device detects (1736) lift off of the finger contact at the location outside the selected first box of content.

The device selects (1738) one or more additional boxes of content in the plurality of boxes of content in accordance with the location of the finger contact outside the first box of content (FIG. 8E or 8I, respectively). In some embodiments, the selection occurs after detecting lift off of the finger contact at the location outside the selected first box of content. In some embodiments, the selection occurs before detecting lift off of the finger contact at the location outside the selected first box of content, and is finalized by the lift off. The selected boxes of content may be further expanded with additional finger gestures on the selection handles 808, as illustrated by finger contact 820 and movement 822 in FIGS. 8J and 8K.

In some embodiments, the device copies (1740) the selected first box of content and the selected one or more additional boxes of content (e.g., in response to detecting a finger gesture on a “copy” icon 534 in a command display area 530 adjacent to the selected content, FIG. 8E and FIG. 8I). Furthermore, in some embodiments, the copied content is posted to a “pasteboard” in memory, making the copied content available for pasting in (i.e., copied to) the current application as well as in other applications executed by the device. When the copied content includes more than one box of content, or content of more than one data type, the copied content may be posted to the pasteboard as multiple objects, one for each distinct box of content or data item. Different posted objects can have different data types (e.g., image, HTML, text, etc.).

In some embodiments, the device pastes (1742) the selected first box of content and the selected one or more additional boxes of content (e.g., pasting the selected content into an email, note, or word processing document in a corresponding application on the multifunction device).

In some embodiments, the formatting and other metadata in the copied selected content is lost during pasting and only text in the selected content is pasted (e.g., copying the box of content 806 from FIG. 8L into a note in FIG. 8M). In some embodiments, the formatting and other metadata in the copied selected content is maintained during pasting (e.g., copying the box of content 806 from FIG. 8L into an email, FIGS. 8N and 8O).

FIG. 18 is a flow diagram illustrating a method of selecting content in structured electronic documents in accordance with some embodiments. The method 1800 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 1800 may be combined and/or the order of some operations may be changed.

As described below, the method 1800 provides an intuitive way to select content within a single block of content in a structured electronic document (e.g., a web page) at a multifunction device with a touch screen display. The method reduces the cognitive burden on a user when selecting content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to perform content selection faster and more efficiently conserves power and increases the time between battery charges.

The device displays (1802) at least a portion of a structured electronic document on the touch screen display at a first magnification. The structured electronic document comprises a plurality of boxes of content.

The device detects (1804) a first finger gesture on a first box of content in the plurality of boxes of content.

In response to detecting the first finger gesture on the first box of content in the plurality of boxes of content, the device selects the first box of content and visually distinguishes the selected first box of content from content on the touch screen display that is not selected (1806), as shown in FIG. 8P. In some embodiments, the first box of content is selected for copying. In some embodiments, the first box of content is selected for use as input to another operation, such as mapping, searching, or one of the operations described above with respect to FIGS. 6A-6BB.

In some embodiments, the device detects (1808) a second finger gesture prior to detecting a finger contact on the respective end of the selected first box of content (e.g., a finger gesture that moves a selection handle 808 within the selected first box of content 806, FIG. 8P). In response detecting a second finger gesture, the device switches from a mode configured to select one or more boxes of content (FIG. 8P) to a mode configured to select content within a single box of content (FIG. 8Q).

The device detects (1810) a finger contact on a respective end of the selected first box of content (which end may include a start-point object or end-point object or a hidden hit region of one of these objects). The respective end is either the beginning or the end of the selected content. For example, in FIG. 8Q, finger contact 824 is on the beginning of the selected content. For example, in FIG. 8S, finger contact 826 is on the end of the selected content.

The device displays (1812) a content magnifier 702 adjacent to the respective end of the selected first box of content (FIGS. 8R and 8S). The content magnifier 702 displays: an expanded portion 708 of the content proximate to the respective end of the selected first box of content at a second magnification that is greater than the first magnification, and a boundary marker 704 that denotes a current position of the respective end of the selected first box of content.

The device detects (1814) movement of the finger contact across the touch screen display within the selected first box of content 806.

The device updates (1816) the respective end of the selected first box of content and the displayed expanded portion of the content proximate to the respective end at the second magnification in accordance with the movement of the finger contact (FIGS. 8R and 8S).

The device moves (1818) the content magnifier and the boundary marker in accordance with the movement of the finger contact (FIGS. 8R and 8S).

Other aspects of content selection described above (e.g., with respect to FIGS. 7A-7E) may be used here as well. Once the content is selected, the device may, in response to user input, perform operations on the selected content such as those described above with respect to FIGS. 6A-6BB that are applicable to read-only content.

FIG. 19 is a flow diagram illustrating a method of selecting content in structured electronic documents based on document complexity criteria in accordance with some embodiments. The method 1900 is performed at a multifunction device (e.g., 300, FIG. 3) with a touch screen display. In some embodiments, the method is performed at a portable multifunction device with a touch screen display (e.g., portable multifunction device 100). Some operations in method 1900 may be combined and/or the order of some operations may be changed.

As described below, the method 1900 provides a way to tailor the method of content selection to the complexity of a structured electronic document, such as an HTML email, at a multifunction device with a touch screen display. The method selects entire boxes of content in complex documents while allowing more precise selections in documents with simple structures. The method reduces the cognitive burden on a user when selecting content, thereby creating a more efficient human-machine interface. For battery-operated devices, enabling a user to perform content selection faster and more efficiently conserves power and increases the time between battery charges.

The device displays (1902) at least a portion of a structured electronic document on the touch screen display (e.g., an HTML email received by the user and displayed in an email application). The structured electronic document comprises a plurality of boxes of content.

The device determines (1904) whether the structured electronic document meets one or more predefined document complexity criteria.

In some embodiments, the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes (1906) a plurality of columns that contain boxes of content.

In some embodiments, the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes (1908) at least one non-inline image.

In some embodiments, the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes (1910) at least a predefined number of levels of nested elements (e.g., for an HTML email document, at least 3 levels of nested elements).

In some embodiments, the one or more predefined document complexity criteria comprise a requirement that the structured electronic document uses (1912) cascading style sheets.

In some embodiments, the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes (1914) a floated object.

In some embodiments, the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes (1916) text floated around an object.

The device selects (1918) one or more entire boxes of content in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria.

The device selects (1920) a gesture-specified portion of at least one box of content when the structured electronic document does not meet at least one predefined document complexity criteria. The gesture-specified portion may be a portion within one box of content. The gesture-specified portion may include a portion of a first box and a portion of an adjacent box. The gesture-specified portion may include a portion of a first box, a portion of a last box, and the entirety of boxes between the first box and the last box. In other words, for structured electronic documents (e.g., HTML emails) that do not meet any of the document complexity criteria, the respective ends of the selected content may be placed within box(es) of content such that only a portion of some box(es) is selected (e.g., using gestures such as those discussed above with respect to FIGS. 10A-10D and 13A-13G). In contrast, for structured electronic documents that meet at least one document complexity criteria, entire boxes of content are selected (e.g., using gestures such as those discussed above with respect to FIGS. 17A-17B).

Other aspects of content selection described above (e.g., with respect to FIGS. 7A-7E) may be used here as well. Once the content is selected, the device may, in response to user input, perform operations on the selected content such as those described above with respect to FIGS. 6A-6BB that are applicable to read-only content.

The steps in the information processing methods described above may be implemented by running one or more functional modules in information processing apparatus such as general purpose processors or application specific chips. These modules, combinations of these modules, and/or their combination with general hardware (e.g., as described above with respect to FIGS. 1A, 1B and 3) are all included within the scope of protection of the invention.

The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. 

1. A method, comprising: at a multifunction device with a touch screen display: displaying at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; determining whether the structured electronic document meets one or more predefined document complexity criteria; selecting one or more entire boxes of content in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria; and selecting a gesture-specified portion of text, wherein a respective end of the selected portion of text is placed within one box of content such that only a portion of text in the one box of content is selected when the structured electronic document does not meet at least one predefined document complexity criteria.
 2. The method of claim 1, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes a plurality of columns that contain boxes of content.
 3. The method of claim 1, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes at least one non-inline image.
 4. The method of claim 1, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes at least a predefined number of levels of nested elements.
 5. The method of claim 1, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document uses cascading style sheets.
 6. The method of claim 1, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes a floated object.
 7. The method of claim 1, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes text floated around an object.
 8. A graphical user interface on a multifunction device with a touch screen display, memory, and one or more processors to execute one or more programs stored in the memory, the graphical user interface comprising: at least a portion of a structured electronic document, the structured electronic document comprising a plurality of boxes of content; wherein: whether the structured electronic document meets one or more predefined document complexity criteria is determined; one or more entire boxes of content are selected in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria; and a gesture-specified portion of text is selected, wherein a respective end of the selected portion of text is placed within one box of content such that only a portion of text in the one box of content is selected when the structured electronic document does not meet at least one predefined document complexity criteria.
 9. A multifunction device, comprising: a touch screen display; one or more processors; memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: displaying at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; determining whether the structured electronic document meets one or more predefined document complexity criteria; selecting one or more entire boxes of content in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria; and selecting a gesture-specified portion of text, wherein a respective end of the selected portion of text is placed within one box of content such that only a portion of text in the one box of content is selected when the structured electronic document does not meet at least one predefined document complexity criteria.
 10. The device of claim 9, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes a plurality of columns that contain boxes of content.
 11. The device of claim 9, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes at least one non-inline image.
 12. The device of claim 9, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes at least a predefined number of levels of nested elements.
 13. The device of claim 9, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document uses cascading style sheets.
 14. The device of claim 9, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes a floated object.
 15. The device of claim 9, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes text floated around an object.
 16. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a multifunction device with a touch screen display, cause the device to: display at least a portion of a structured electronic document on the touch screen display, wherein the structured electronic document comprises a plurality of boxes of content; determine whether the structured electronic document meets one or more predefined document complexity criteria; select one or more entire boxes of content in response to one or more finger gestures when the structured electronic document meets at least one predefined document complexity criteria; and select a gesture-specified portion of text, wherein a respective end of the selected portion of text is placed within one box of content such that only a portion of text in the one box of content is selected when the structured electronic document does not meet at least one predefined document complexity criteria.
 17. The computer readable storage medium of claim 16, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes a plurality of columns that contain boxes of content.
 18. The computer readable storage medium of claim 16, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes at least one non-inline image.
 19. The computer readable storage medium of claim 16, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes at least a predefined number of levels of nested elements.
 20. The computer readable storage medium of claim 16, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document uses cascading style sheets.
 21. The computer readable storage medium of claim 16, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes a floated object.
 22. The computer readable storage medium of claim 16, wherein the one or more predefined document complexity criteria comprise a requirement that the structured electronic document includes text floated around an object. 